uicontrol
How to correctly subclass UIControl?
I know this question is ancient, but I had the same problem and I thought I should give my 2 cents. If your control has any subviews at all, beginTrackingWithTouch, touchesBegan, etc might not get called because those subviews are swallowing the touch events. If you don’t want those subviews to handle touches, you can … Read more
How to disable the highlight control state of a UIButton?
Your button must have its buttonType set to Custom. In IB you can uncheck “Highlight adjusts image”. Programmatically you can use theButton.adjustsImageWhenHighlighted = NO; Similar options are available for the “disabled” state as well.