I want to make custom UISwitch for project. I want to change text as well as background.
I gone through multiple posts on stack-overflow for this. Some where just image drawing or core graphics drawing. I don't want both of them as they are not sufficient.
- Custom UISwitch & App Store approval
- UISwitch - change from on/off to yes/no
- http://www.catamount.com/blog/uicustomswitch-customizing-uiswitch-color-it-change-labels/
But I need a single code which will be sufficient for iOS 4.2 as well as iOS 6.0.