Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

BID iOS8 - Chapter 9 - TableCellView height not auto calculating

I am working through Chapter 9 and the TableCellView height is not auto calculating. The books says that the cell for the Zapfino font should grow to allow the larger font, but mine is cutting it off. I don't see any setting that I can set and the book says that it is a new feature of iOS8 and you don't need to do anything special to make it happen. I am using xCode 6.3 and iOS simulator 8.3 and this is from the ObjC edition of the book. Any ideas?

Comments

  • For future reference, if anyone runs into the same problem. I had to add these two lines to the viewDidLoad method of my view controllers to fix it.

        self.tableView.estimatedRowHeight = 44;

        self.tableView.rowHeight = UITableViewAutomaticDimension;


Sign In or Register to comment.