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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…