tags:

views:

133

answers:

1

I would like to change the blue color of the UISwitch in iPhone SDK to another color but there is not a tintColor property for this control. Is this possible?

A: 

Not using the built-in UISwitch; you'll have to roll your own UIControl subclass. If you're developing for 3.2 or later, UIPanGestureRecognizer and UITapGestureRecognizer are probably your friends; with earlier SDKs, you're gonna be doing a lot of manual touch handling.

Noah Witherspoon