Nib setup: TableViewCell
, contentView
contains a TextView
Set vertical space and horizontal space constraints so TextView
is flush against the contentView
(top, bottom, leading and trailing, to equal and constant to 0).
When I add a Height constraint to the TextView
, I get a constraint error. What I expected is the TableCell/ContentView to automatically expand when the TextView
changes size. Is this not the way to resize TableViewCells
?