Pugalmuni
Pugalmuni

Reputation: 9390

How to create Footer view in the table view Using View Controller in iPhone

I want to create a footer view in my table view.I have created view controller and add a subview as table view. So how can i add the footer view in that table view?.

Note: I have used only view controller, not table view controller.

I haven't used table view controller in my apps, bcoz i have used many controllers as subview in the view controller. Is there any sample programs available? So how can i achieve this?.

Please Help me out.

Thanks.

Upvotes: 0

Views: 1906

Answers (1)

Swapnil Luktuke
Swapnil Luktuke

Reputation: 10475

Make your controller a table view delegate and use viewForFooterInSection method. For details, check UITableViewDelegate Protocol reference.

Upvotes: 1

Related Questions