I want to remove header and footer from my 'UITableView' I have tried:
table.tableHeaderView = nil;
- (UIView *)tableView:(UITableView *)tableView
viewForHeaderInSection:(NSInteger)section{
return nil;
}
- (CGFloat)tableView:(UITableView *)tableView
heightForHeaderInSection:(NSInteger)section{
return 0;
}
But none of this working.
I want to start my section from starting of tableview.
See Question&Answers more detail:os