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;
}
From this discussion
Here’s the
UILabelinfo for tableView headers on iOS 6: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