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

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