separator分割线
self.tableView.separatorColor =[UIColor redColor];
//separator没有分割线
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
被选中Cell样式
cell.selectionStyle = UITableViewCellSelectionStyleDefault;
separator分割线
self.tableView.separatorColor =[UIColor redColor];
//separator没有分割线
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
被选中Cell样式
cell.selectionStyle = UITableViewCellSelectionStyleDefault;
本文标题:分割线、被选中Cell样式
本文链接:https://www.haomeiwen.com/subject/zsynyttx.html
网友评论