解决UITableView数据没有充满屏幕时,显示多余的空白cell的问题

#pragma mark 去除多余的线
-(void) clearExtrLine{
    UIView *view = [[UIView alloc] init];
    view.backgroundColor = [UIColor clearColor];
    [tableView setTableFooterView:view];
}

 

posted @ 2016-01-19 15:01  ha_cjy  阅读(643)  评论(0编辑  收藏  举报