Ruth85
Ruth85

Reputation: 745

Tableview header position

I am using a tableView grouped style and after set headers for each group, its text is superposed to first cell. How to position group down in order to see header's text on top and previous to cell group? Thank you.

Upvotes: 0

Views: 371

Answers (1)

pythonquick
pythonquick

Reputation: 10869

If you've implemented the tableView:viewForHeaderInSection: method to create header views, try to also implement the tableView:heightForHeaderInSection: method. Both are part of the UITableViewDelegate protocol

Upvotes: 1

Related Questions