So far I have been just using text labels within cells that should auto-size themselves. I usually put constraints to all of the edges (content view or neighbors) and add the following lines to my viewDidLoad(): // 190.0 is the actual height of my custom cell (see next image) in the storyboard containing a label and a randomly sized UIImageView tableView.estimatedRowHeight = 190.0 tableView.rowHei
![Auto-Layout: Get UIImageView height to calculate cell height correctly](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)