cell 点击背景颜色 设置
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 中设置
cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame];
cell.selectedBackgroundView.backgroundColor = [UIColor redColor];
设置分割线 自定义cell 时
[self setSeparatorInset:UIEdgeInsetsMake(0, 20, 0, 0)];