I have a UITableView with cells that have a fixed height of 100 points. The cells are created in a xib file that uses 3 constraints to pin a UILabel to
UITableView
UILabel
I usually add these two lines to viewDidLoad()
self.tableView.rowHeight = UITableViewAutomaticDimension self.tableView.estimatedRowHeight = 96
This will automatically resize the cell