I had an app working in Xcode 8. After importing it to Xcode 9, autolayout fails. Multi-line UILabels only showing 1 line. Multi-line UIlabels in the UITableView also show 1 line. I have no constraint issues.
I used something like
tableView.rowHeight = UITableViewAutomaticDimension
tableView.estimatedRowHeight = 100
When I implemented a solution as shown here in the converted project, auto layout failed.
But IF I create a new project in Xcode 9 and implement the same solution as given in link above, auto layout works!
Has anyone encountered such an issue? Is there a way to fix my auto-layout in converted project without re-doing all?
Edit
It looks like someone is facing a similar issue here.
Edit 2017.10.18
A possible solution, somewhat hack-ish; here