Reputation: 103
I am building the chat app in which I am using the automatic dimensions of table view for cells but height for cell is not working properly for some cells.
and here is the constraints of view
here is the screen shot of view hierarchy
Upvotes: 0
Views: 55
Reputation: 4345
You need to set contentcompressionresistance(vertical) to 1000 and contenthuggingpriority (vertical) to 1000
Upvotes: 1
Reputation: 1374
I think you should add the greaterThanOrEqualTo
constraint for the label height
Upvotes: 0