I've got a UITableViewCell subclass that has two labels of variable height. AFAIK, the autolayout constraints are correct. The first time the cell is rendered in the table it's correct, but any subsequent rendering is blown out too tall. Even after the parent view controller is deallocated! It literally requires an app restart to go back to normal.

I've tried clearing text of the labels in an override of prepareForReuse in the cell class.

// viewDidLoad
tableView.rowHeight = UITableViewAutomaticDimension
tableView.estimatedRowHeight = 300

[![enter image description here](https://i.stack.imgur.com/dJRUe.png)](https://i.stack.imgur.com/dJRUe.png)