Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Method viewForHeaderInSection delegate was not triggered #63

Open
eternalBlast opened this issue Oct 23, 2017 · 0 comments
Open

Method viewForHeaderInSection delegate was not triggered #63

eternalBlast opened this issue Oct 23, 2017 · 0 comments

Comments

@eternalBlast
Copy link

eternalBlast commented Oct 23, 2017

-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
    UIView *view = [UIView new];
    view.frame = CGRectMake(0, 0, 320, 30);
    [view setBackgroundColor:[UIColor grayColor]];
    return view;
}

self.tableView.sectionHeaderHeight = 20;
self.tableView.estimatedSectionHeaderHeight = 20;

The above method is not triggered even has set the sectionHeaderHeight and estimatedSectionHeaderHeight. Any approach to solve this problem? Please help. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant