UISwitch is a UI element — an On/Off switch.
Changing background color of the UISwitch to orange
The background color of the UISwitch is blue by default, but you can change it to orange by calling
[theSwitch setAlternateColors:YES];
UISwitch is a UI element — an On/Off switch.
The background color of the UISwitch is blue by default, but you can change it to orange by calling
[theSwitch setAlternateColors:YES];