iphone - change background color of a section header title (normal tableview) -


My app looks like the default address book app on the iPhone gray gradients for each alphabet in the background color in the address book (A, B.) has a section header. Is it possible to override this default color to another tint color?

You can change section headers by applying the following method in UITableViewDelegate to a UITableView:

- (UIView *) Table view: (UITableView *) table view viewForHeaderInSection: (NSInteger) section

You will definitely display your new section view correctly To see the height method:

- (CGFloat) TableView: (UITableView *) TableHigh heightException: (NSInteger) section

section Head To change the color of the text, which create a UIView with a UIImageView, and a UILabel for the text section.

APAI, you can not manipulate the tint of the section view.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -