I am using UISwitch in iOS 3 to make a switch element in my app. It has default color set to blue, but I want to change its color to brown.
UISwitch
How can I choose
For Swift 3:
var mySwitch : UISwitch = ... mySwitch.onTintColor = UIColor.blue