UITableView header/footer font color
cocoa-touch, ipad, iphone, uikit
Solution
From this discussion
Here's the `UILabel` info for tableView headers on iOS 6:
Plain
fontName: Helvetica-Bold
pointSize: 18.000000
textColor: UIDeviceWhiteColorSpace 1 1
shadowColor: UIDeviceWhiteColorSpace 0 0.44
shadowOffset: CGSize 0 1
Grouped
fontName: Helvetica-Bold
pointSize: 17.000000
textColor: UIDeviceRGBColorSpace 0.298039 0.337255 0.423529 1
shadowColor: UIDeviceWhiteColorSpace 1 1
shadowOffset: CGSize 0 1
As for the background of the plain style header, that's a UIImage, not simply a backgroundColor. Notice the subtle vertical gradient.
hope it helps
Problem
When overriding the header/footer of a (group styled) table view, what colour should be used for the header and footer fonts to ensure the header and footer fonts are consistent with the standard header and footer fonts? ie The header is being loaded like this: ``` - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if(myHeaderView == nil) { [[NSBundle mainBundle] loadNibNamed: @"MyHeaderView" owner: self options: nil]; } return myHeaderView; } ```