1:設置cell.selectionStyle = UITableViewCellSelectionStyleNone;函數
2:在cell的.m裏實現重寫code
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{//重寫高亮函數 if (highlighted)
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{//重寫高亮函數it
if (highlighted) {io
self.backgroundColor = [UIColorChange colorwithHexString:COLOROFLINE];select
}else{im
self.backgroundColor = [UIColor whiteColor];animate
}co
}background