Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sandhya.rai

macrumors newbie
Original poster
Jan 12, 2009
26
0
Hi,

I want to know how to change the color of header's title in section of table
programatically .





Thanx
sandhya
 
You need to use the UITableViewDelegate method tableView:viewForHeaderInSection:. You can supply it a UILabel object that describes the header text you want for that section and use the label's textColor property to change the colour of the label.

Contrary to what it says in the description, it works for both plain and grouped table view styles.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.