Is there a way to add custom views above and below a UITableView
?
I'd like to have a custom header and a custom back button in the footer. What would be the best to do this?
I've started by subclassing UITableViewController
and tried resizing the UITableView
. In vain.
Tried adding a new main view to UITableViewController
and adding the UITableView
as a subview to it. Result: table view won't appear at all.
Tried adding the back button as a subview to the table view, but it will get scrolled this way.
Now I guess it would be the best to somehow replace the "original" header/footer, but is that possible?
Edit: Solved!
Using this tutorial, I've managed to add the required header and footer to the view using the Interface Builder.