Variable row heights for table view

How do I use variable row heights of table view rows according to the contents of the particular table view cell for each row?

Hi @brower

In general you can set rowHeight property to UITableViewAutomaticDimension and also make sure that you have all the vertical constraints for the cell view. You can find more info in this tutorial - https://www.raywenderlich.com/129059/self-sizing-table-view-cells.

Hope this is helpful.

Thanks

This topic was automatically closed after 166 days. New replies are no longer allowed.