Is it possible to exclude certain subviews in a UITableViewCell from being highlighted or to change their highlight implementation?
I added an orange warning label to the UITableViewCell for certain occassions and it highlights properly with the rest of the cell, which is good. However, when the cells stops being highlighted in an animated way, you first see the background of the warning label become white and then flash to orange.
I would either like it to be excluded from being highlighted at all, or to change it’s highlight implementation so it animates back to orange properly.
It doesn’t seem to be possible to exclude views from being highlighted if the superview calls for it. However, overriding their
setHighlighted:can give the same result if you just stop any highlighting behavior there or change it to your specifications.