UITableViewCell
apparently calls setHighlighted:
and setSelected:
on eligible subviews (UIImageView
, UILabel
, etc) when it gets selected. Say I have a custom UIView
subclass that I have in a cell, and I want it to get the same calls. I've implemented setHighlighted:
and setSelected:
on it, but no call comes. Is there some interface I have to declare conformance to? Or am I going to have to use a custom subclass of UITableViewCell
, override setSelected:
, and walk through my subviews myself?
It seems weird that they wouldn't just walk the subviews and ask each one if it responds to setSelected:
and/or setHighlighted:
.