I have got a table in my Swift project like this
var tableView: UITableView! tableView = UITableView() tableView.dataSource = self tableView.delegate = self ta
Pin the view's constraints to the superview's edges. Also call the estimatedRowHeight.. Remember to call a reload from the table to invoke height calculation for each cell to display.