Components

Switch(iOS)

A control that offers a binary choice, such as on/off.

Summary

Switches on iOS are implemented with the built-in UIKit component UISwitch.

iOS switch (on)

iOS switch (off)

Public API

See Apple documentation on UISwitch for the public API.

Was this page helpful?

We use this feedback to improve the quality of our documentation.