iOS 去掉table前面的空格

if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) {css

        [tableView setSeparatorInset:UIEdgeInsetsZero];url

    }spa

    if ([tableView respondsToSelector:@selector(setLayoutMargins:)]) {3d

        [tableView setLayoutMargins:UIEdgeInsetsZero];orm

    }blog

    UIView* footer = [[UIView alloc] init];it

    [footer setBackgroundColor:[UIColor clearColor]];table

    [tableView setTableFooterView:footer];import

 

 

 if ([cell respondsToSelector:@selector(setSeparatorInset:)]) {file

        [cell setSeparatorInset:UIEdgeInsetsZero];

    }

    if ([cell respondsToSelector:@selector(setLayoutMargins:)]) {

        [cell setLayoutMargins:UIEdgeInsetsZero];

    }