some_id
some_id

Reputation: 29896

Set the color of a UITableViews section title

I have a UITableView with a number of sections. The are defaulted to the blue color, I would like to change it to another color.

How does one do this? I can only see where to set the name of the title for the section, but not the color.

Upvotes: 0

Views: 313

Answers (1)

smparkes
smparkes

Reputation: 14083

You'll need to provide a custom header view for each section with – tableView:viewForHeaderInSection: on the table view delegate.

Upvotes: 1

Related Questions