I have added a UIButton
in the header section of the UITableView
via the interface builder and would like to remove the access to the button in cer
You could also do:
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
return 0.0;
}
This seems to work for my (single) section header and avoids the need for reloadData
.
Note that:
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
is still called, but its return value seems to be ignored.