1

I am using UITableView's which contains two section (color and animals) but I want to two UIButtons at tableview's header not in UITableView's section's header

Can you please help me :) thanks

Yuyutsu
  • 2,509
  • 22
  • 38
  • 1
    Checkout this answer: http://stackoverflow.com/questions/5441938/adding-ios-uitableview-headerview-not-section-header – Suresh Dec 19 '14 at 12:27
  • 1
    Go through This: http://stackoverflow.com/questions/15611374/customize-uitableview-header-section –  Dec 23 '14 at 15:45

1 Answers1

3

You just have to drag and drop UIView in your IB and outlet it and set

yourtable.tableHeaderView = youroutletview; 

enter image description here

Now you can customize view as you want.

ChintaN -Maddy- Ramani
  • 5,156
  • 1
  • 27
  • 48