Forrest
Forrest

Reputation: 620

UITableViewCell appearance in IB different than during run time

iPhone dev question!

So i have a custom UITableViewCell class, and i have configured it in Interface Builder with a height of 79. My problem is that once i run the app, the cells have a height of only 20. I can't figure out why the two are different.

If anyone has encountered this before, any help would be appreciated!

Upvotes: 0

Views: 48

Answers (1)

iCoder
iCoder

Reputation: 1318

I think you have forgot to implement heightForRowAtIndexPath method of table view in your Viewcontroller's .m file . in that method just add "return 79" . This will solve your problem

Upvotes: 2

Related Questions