Question

is there a way to customize the section header label without drawing my own view first?

I just want to change the alignment of the label.

Pas de solution correcte

Autres conseils

If you are targeting iOS 6, you could use UITableViewHeaderFooterView. This has a property textLabel, which gives you access to the label that's being drawn. I haven't worked with it a whole lot, but you may have to configure a few other things before it looks 100% like a table header label.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top