Skip to content

Instantly share code, notes, and snippets.

@snosrap
Created March 11, 2017 16:58
Embed
What would you like to do?
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section {
if([view isKindOfClass:UITableViewHeaderFooterView.class]) {
((UITableViewHeaderFooterView *)view).textLabel.text = [self tableView:tableView titleForHeaderInSection:section];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment