iOS Developer Library

Developer

iOS 7 Design Resources UIKit User Interface Catalog

Download 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.