同时调用一下两个方法:
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
self.quickProfessionLabel.backgroundColor = UIColorFromRGB(0xce0f32);
self.quickUnReadLabel.backgroundColor = UIColorFromRGB(0xce0f32);
}
- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
[super setHighlighted:highlighted animated:animated];
self.quickProfessionLabel.backgroundColor = UIColorFromRGB(0xce0f32);
self.quickUnReadLabel.backgroundColor = UIColorFromRGB(0xce0f32);
}