-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
{
? ? if(section ==0) {
? ? ? ? return0.1;
? ? }
? ? return10;
}
-(UIView*)tableView:(UITableView*)tableViewviewForHeaderInSection:(NSInteger)section {
? ? UIView*view = [[UIViewalloc]init];
? ? view.backgroundColor = [UIColor clearColor];/
? ? return?view;
}
效果如下? 每一個cell為一組
