Link Search Menu Expand Document

Switch.Style

Styles that determine the appearance of the switch.

public enum Style: Int 

Inheritance

Int

Enumeration Cases

automatic

A style indicating that the system chooses the appearance of the switch according to the current user interface idiom.

case automatic

checkbox

A style indicating that the switch appears as a checkbox.

case checkbox

sliding

A style indicating that the switch appears as an on/off slider.

case sliding