Jon Cox Jon Cox -3 years ago 99
iOS Question

How to add a footer to a UITableView in Storyboard

I'm fairly new to iOS development.

I want to add a footer to the table view in a

. I've made the view I want to use as the footer graphically in Storyboard, however I can't work out how to hook it up as the footer to my table view.

I can add a footer programmatically in
method by assigning
. But I've created my footer view in Storyboard, what is the best practice way of adding it as the footer to my table view?

Answer Source

You can just drag a view to the bottom area of the tableView. You'll see in the hierarchy that it will be a subview of the tableview. You can then drag subviews such as labels and buttons there, adjust the height, etc.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download