I have a UITableViewHeaderFooterView in which I change the textLabel font and the background color
UITableViewHeaderFooterView* header = [tableView dequeueReusableHeaderFooterViewWithIdentifier:@"header"];
if(!header)
{
header = [[UITableViewHeaderFooterView alloc] initWithReuseIdentifier:@"header"];
[header.textLabel setFont:[UIFont boldSystemFontOfSize:15]];
[header.contentView setBackgroundColor:[UIColor colorWithRed:213/255.0 green:213/255.0 blue:213/255.0 alpha:1]];
}
Here is how iOS 7 shows it:
Here is how iOS 8 shows it: The setFont: doesn't seems to take effect here, or the 15pt font is bigger on iOS 8 that on iOS 7
Here is how iOS 8 shows it when I remove the setFont: call
As you can see, setFont has no effect on the font, but it has on the textColor.
Am I missing something or those are "beta bugs" (I'm using simulators from XCode6 GM seed, and I have the same issue on a iPhone 5 with iOS 8 beta 5) ?
Edit: iOS 8 release and XCode 6.0.1 doesn't seems to fix the problem
tableView:willDisplayHeaderView:forSection:
as suggested in https://mcmap.net/q/174899/-troubles-with-changing-the-font-size-in-uitableviewheaderfooterview – Biting