In iOS 7 switches don't allow custom on/off images by default. While I can still set them in the Interface Builder it doesn't show up.
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/TransitionGuide/TransitionGuide.pdf
The transition guide merely notes that it isn't on by default anymore. Presumably there is a way to change that so I do use the images I have.
Can you use a UIButton instead, using the "selected" state to mean "on"?
Apple never let this feature go live... I believe you can file a bug report about it if you want to see it in the future...
I've got around this issue by using a drop in replacement called SevenSwitch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With