Greetings! I know that UITableView sectionHeaderHeight is only used for grouped tables, but I'll ask anyway (in case there's some way to do this that isn't obvious) ...
Is there a way to change the section header height (and with it, the font/size) for a NON-grouped table?
Hoping "yes" or at least a "maybe" ... but fearing it might be a "no". Have at it, folks.
Yes.
Use this delegate method:
Of course, change as appropriate. There's of course the one for footer as well:
At least since iOS 9 (tested) UITableView.sectionHeaderHeight is working for plain table views (non-grouped) as well!
You will get the default header height (usually 22.0).
Of course the table views delegate might have customized this default value in its tableView:heightForHeaderInSection: method.
The following code snippet gives the height of a defined section header: