Minimum cell height with UITableViewAutomaticDimension

aaisataev picture aaisataev · Feb 3, 2016 · Viewed 15.6k times · Source

Is it possible to set minimal height for cell? I use dynamic:

tableView.estimatedRowHeight = 83.0
tableView.rowHeight = UITableViewAutomaticDimension

But I need to set minimal height for cell when my news title label text is in one line.

Answer

Hytek picture Hytek · Feb 3, 2016

Have you tried creating a constraint in your custom UITableViewCell's view of height >= 60.0?