答案 0 :(得分:2)
在viewcontroller中通过以下方式设置行高:
tableView.rowHeight = 88.8
您还可以通过实施:
来设置单个行的行高func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 88.0
}
return 44.0
}