I am drawing custom UITableViewCells. My cells are opaque and are completely drawn in the drawRect of the cell to help with performance. I want to handle the look of a sel
You can override -[UITableViewCell setSelected:animated:]
, but you should always call the super's implementation in your implementation. Not doing so could have have unanticipated effects on other selection-related behaviors.
If you don't want the superclass to make any styling changes as a result of the selection, just set the cell's selectionStyle
property to UITableViewCellSelectionStyleNone
.