31
Is there a way to set a custom states -- not one of the existing UIControlState values -- for a UIControl?
In the UIControlSate enum, there are 16 bits that can be used for custom control states:
UIControlStateApplication = 0x00FF0000, // additional flags available for application use
The problem is that UIControl's state property is readonly.
I want to set different background images to my UIButton for custom states.