Dynamic text of variable length are being injected into tableview cell labels. In order for the tableview cells\' heights to be dynamically sized, I have implemented in
Try
override func viewWillAppear(animated: Bool) { self.tableView.layoutSubviews() }
I had the same problem and it works for me.