cell调整
- 去掉所有cell线条
self.ShowTabelView.separatorStyle = UITableViewCellSeparatorStyleNone;
- 去掉多余cell线
[self.SearchTableView setTableFooterView:[[UIView alloc] initWithFrame:CGRectZero]];
- 去掉点选效
cell.selectionStyle = UITableViewCellSelectionStyleNone;
- cell 线条封顶
cell.separatorInset = UIEdgeInsetsZero;
cell.layoutMargins = UIEdgeInsetsZero;
cell.preservesSuperviewLayoutMargins = NO;
喜欢朋友给个赞
网友评论