It also places the estimated size (Value that is realistic for you, a general case just to "speed up" computing):
tableView.estimatedRowHeight = 100
tableView.estimatedRowHeight = UITableViewAutomaticDimension // Talvez isso funcione no momento não tenho como testar.
If the problem persists, implement these UITableViewDelegate methods:
func tableView(tableView: UITableView!, heightForRowAtIndexPath indexPath: NSIndexPath!) -> CGFloat {
return UITableViewAutomaticDimension
}
func tableView(tableView: UITableView!, estimatedHeightForRowAtIndexPath indexPath: NSIndexPath!) -> CGFloat {
return UITableViewAutomaticDimension
}