I am attempting to set the height of a custom tableViewCell
, but the code below does not work. What is the better way to do this?
Programmatically:
override func viewDidLoad() {
super.viewDidLoad()
self.tableView.rowHeight = 140
}
via storyboard:
- Selected on
tableView
->size Inspector
-> setrow height
to 140.
I have also tried the following:
- Selected the custom
UITableViewCell
->size Inspector
-> setrow height
to 140.