UITableViewCell分割線不是左對齊的問題

在UITableView的Delegate代理方法中設置:spa

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

{代理

    cell.separatorInset = UIEdgeInsetsZero;orm

    [cell setLayoutMargins:UIEdgeInsetsZero];table

}方法

相關文章
相關標籤/搜索