iOS uitableivewCell 下划线顶格

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{

    cell.separatorInset = UIEdgeInsetsZero;

    cell.layoutMargins = UIEdgeInsetsZero;

    cell.preservesSuperviewLayoutMargins = NO;

}

posted @ 2017-08-21 16:06  爱生活爱代码  阅读(551)  评论(0编辑  收藏  举报