in the end I implemented this using a UITableViewController
. The header is a UIView
implemented as a table header. While the two buttons are put into a UIView
as the table footer. ChildViewControllers are put into UITableViewCell
s. I then disabled scrolling on the UITableView
.
This method made it very easy to achieve the variable height of the center portion while retaining header and footer.