0

To add a header to my tableView I follow @KirbyTodd's answer at Adding iOS UITableView HeaderView (not section header). Now I want to add a TableViewCell to my table. But when I drop the cell in the TableView, the cell appears above my header. Does anyone know how I might correctly add both a header and a custom cell to my TableView using the storyboard?

Community
  • 1
  • 1
learner
  • 11,490
  • 26
  • 97
  • 169

1 Answers1

1

You added not tableHeaderView, but tableFooterView. If you add tableHeaderView it appears above all content.

Sviatoslav Yakymiv
  • 7,887
  • 2
  • 23
  • 43