Change highlighting of certain subviews in a UITableViewCell

Posted by SpacyRicochet on Stack Overflow See other posts from Stack Overflow or by SpacyRicochet
Published on 2011-11-25T09:47:44Z Indexed on 2011/11/25 9:50 UTC
Read the original article Hit count: 188

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about ios

Related posts about uitableview