I would like to set the UITableView to match the height for all the contents in the table view.
This is my storyboard
The problem with this is the t
Based on solution of @rr1g0
Create height constraint for tableView and create an outlet to it. And in viewDidLayoutSubviews() use the code below:
var tableViewHeight: CGFloat = 0 for section in 0..