Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • 4
    wow. that must be the best structured answer I've ever received. Much appreciate that. The thing is my app also supports ios 5 so I can't really use that feature even though I'm glad I've learned something out of your answer. I have updated my question. Can you please take a look. Thank you Commented Jan 9, 2013 at 5:32
  • 1
    @alex Well, the answer is all the same, but just without all of that constraint silliness. Just use the first rendition of the adjustHeightOfTableView and you should be good. Commented Jan 9, 2013 at 8:25
  • I tried you answer for autolayout off but unfortunately my table view is not displayed at all :( Commented Oct 24, 2013 at 5:11
  • @Dejel: Check that you're doing the [self adjustHeightOfTableView] in viewDidAppear and not in viewDidLoad. Commented Dec 7, 2013 at 16:20
  • Only just upgrading our apps to AutoLayout (dropping support for iOS5) and the new NSLayoutConstraint is, once setup, a very nice alternative to setting frames. Commented Mar 21, 2014 at 14:33