0

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.

Marco
  • 6,692
  • 2
  • 27
  • 38
Constantin Jacob
  • 488
  • 1
  • 8
  • 21

1 Answers1

0

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.

Scott Berrevoets
  • 16,921
  • 6
  • 59
  • 80