tablbView中section的间距

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
    if (section == 3) {
        return 0;
    }
    return 10;
}

- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
{
    UIView *view=[[UIView alloc]initWithFrame:CGRectMake(0, 0, DEVW, 20)];
    view.backgroundColor = ViewLineColor;
    
    return view;
}

  

posted @ 2016-01-18 18:02  LeoMabi  阅读(185)  评论(0编辑  收藏  举报