iOS uitableivewCell 下划线顶格

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

    cell.separatorInset = UIEdgeInsetsZero;

    cell.layoutMargins = UIEdgeInsetsZero;

    cell.preservesSuperviewLayoutMargins = NO;

}

原文地址:https://www.cnblogs.com/niit-soft-518/p/7404941.html