I have the following code in a swift UITableViewController, but i get a \"Must translate autoresizing mask into constraints to have _setHostsLayoutEngine:YES exception at th
PEOPLE, THIS IS NOT A BUG. As never said down below:
"This is NOT bug, you simply cannot use a UIView as cell for table view, you must make sure the top level view in the nib file is a UITableViewCell."
I have tested it and it works.
You need to create the Xib file and delete the top-level view that it has. After, you drag and drop a UITableViewCell into the nib. This way, this problem will not happen.