I want to set tableview cell height automatically to show the label completely without happening like that?
Any help?
There are 2 things that you need to do:
1st thing: Set AutoLayout for it. 2nd thing: implement these code:
self.tableView.rowHeight = UITableViewAutomaticDimension self.tableView.estimatedRowHeight = 100
You can see more from my project: https://github.com/khuong291/Yelp
1.4m articles
1.4m replys
5 comments
57.0k users