UISwitch

From iPhone Development Wiki
Revision as of 22:41, 10 October 2009 by KennyTM~ (talk | contribs) (Created page with '{{occlass|library=UIKit.framework}} UISwitch is a UI element — an On/Off switch. == Changing background color of the UISwitch to orange == The background color of the UI…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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];

References