I\'ve learned that we can change the UISwitch button appearance in its \"on\" state, but is it also possible to change the color of the UISwitch in the \"off\" state?
In Swift 4+:
off state:
off
switch.tintColor = UIColor.blue
on state:
on
switch.onTintColor = UIColor.red