分割线、被选中Cell样式

separator分割线

self.tableView.separatorColor =[UIColor redColor];

//separator没有分割线

self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

被选中Cell样式

cell.selectionStyle = UITableViewCellSelectionStyleDefault;

你可能感兴趣的:(分割线、被选中Cell样式)