Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UISwitch - iPhone Development Wiki

UISwitch

From iPhone Development Wiki
Revision as of 17:37, 12 October 2009 by KennyTM~ (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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