I am new in swift and I am trying to create a school project. The problem I face is I have multiple cells and I don't know how to increase the cell height. I have searched, but I am not able to understand how to do it.
Thanks for help in advance.
答案 0 :(得分:-1)
实施以下表格视图方法:
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
//return the size of your cell
}
如果您的像元高度为190,则只需在此处返回190。