I have two prototype cells, one include a image, one not. The one without image works great with auto layout and self sizing cell. But one with image won't work. As you can see below. The image just cover some cells and make the layout a mess.
I am following this tutorial: http://ift.tt/1sBEKOB
The code basically the same as the tutorial, in viewDidLoad tableView.estimatedRowHeight = 44 tableView.rowHeight = UITableViewAutomaticDimension override func viewDidAppear(animated: Bool) { super.viewDidAppear(animated) tableView.reloadData() }
I will upload the Main.storyboard. It may helpful to solve the problem. http://ift.tt/1EuL29H
Aucun commentaire:
Enregistrer un commentaire