2018-07-12 设置TableViewCell分割线/下划
2018-07-12 本文已影响0人
绿茵奔腾者
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{
// 设置cell下划线颜色 和 颜色
[tableView setSeparatorColor:[UIColor sCellLineColor]];
[cell setSeparatorInset:UIEdgeInsetsZero];
[cell setLayoutMargins:UIEdgeInsetsZero];
}