So in my code I used the setAlternateColor: method on my UISwitch to change the color to orange but my app got rejected because of this.
So I decided to use photoshop to create a custom UISwitch. Now that I have the image how am I supposed to get the UISwitch to use my custom .png?
You can’t. It’s probably easiest to write your own custom switch class. It’s not very hard to subclass
UIControland reimplement the few thingsUISwitchdoes. (I don’t know if it would also work to subclassUISwitchdirectly and overridedrawRect:. Might be worth a try.)