Variable height UIViews and labels
- by Bob Spryn
Ok so I'm not in a table cell at this point. (I've seen a lot of threads regarding the height of cells.)
I have a detail view with a title and description at the top of the view, followed by a tableView below it. If the description is going to vary in length, how do I get the tableView to adjust with it accordingly so it always starts directly below it?
I see apple doing this in the app store application. If you look at an application description (as if you were going to buy it), they have an application description, and wherever that ends a scrolling pane of screenshots follow. How do they do the varying height on the text description like that?
Are they doing this all programmatically or can I use the layout controls in IB to do the same thing?