I would like to programmatically change my tableViewCell
's Height,
How can i do so?
My TableView Example:-
I would like to programmatically change my tableViewCell
's Height,
How can i do so?
My TableView Example:-
In your viewcontroller set the row height via:
tableView.rowHeight = 88.8
You can also set the row height of an individual row by implementing:
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 {
return 88.0
}
return 44.0
}