//系统cell
let cell = UITableViewCell(style: .default, reuseIdentifier: “SwitchLangTVC_cell”)
//default 只显示textLabel和imageView
//subtitle value1 三个都显示
//value2 只显示textLabel和detailTextLabel
cell.textLabel?.text = titleArr[indexPath.row]
//cell.accessoryType = UITableViewCell.AccessoryType.disclosureIndicator
return cell
评论(0)
暂无评论