标签:
cell 设置高亮颜色
_backView 是frame为 Cell的bounds 的Cell上的子视图
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
[super setHighlighted:highlighted animated:animated];
if (highlighted) {
_backView.backgroundColor = [UIColor redColor];
} else {
_backView.backgroundColor = [UIColor whiteColor];
}
}
标签:
原文地址:http://www.cnblogs.com/MaybeQueen/p/4612642.html