I am using Autolayout for my new UITableViewCells in a large project.
I have one TableView, where the height of each row is calculated automatically, there I do not use the delegate function heightForRowAtIndexPath.
I declared the estimated line height:
tableView.estimatedRowHeight = 44.0
tableView.rowHeight = UITableViewAutomaticDimension
My question is: there is a lot of UITableViewCells on another TableViewController where I have to programmatically declare the cell height at heightForRowAtIndexPath. I know that it would be better to convert the whole cell to use a unique solution, but there are a lot of different cells in this project, so I would like to use a workaround and combine dynamically calculated height with autostart and programmed line height.
Is it possible?