I've created classes both to be the dataSource
and delegate
of a table view. While the cells are appearing properly, I am finding that this method:
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
is not getting called.
What would be a reason for this?
All I could think of was verifying that I did not implement:
- (UIView *) tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
and I DID implement:
- (CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section`
Is there any other reason the method would not be called?