1:设置cell.selectionStyle = UITableViewCellSelectionStyleNone;
2: Rewrite in the .m of the cell
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{//重写高亮函数
if (highlighted)
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{//Rewrite the highlight function
if (highlighted) {
self.backgroundColor = [UIColorChange colorwithHexString:COLOROFLINE];
}else{
self.backgroundColor = [UIColor whiteColor];
}
}