iOS Developer Library — Pre-Release

Developer

UIKit User Interface Catalog

PDF

Switch

Switch Attributes Inspector Reference

image: ../Art/uiswitch_attributes_inspector.pdf

Appearance and State

State

Whether the switch is on or off.

Selection

Method

Argument

On

on

YES

Off

on

NO

On Tint

The color of the switch when it is on.

Access: onTintColor.