Components
A control that offers a binary choice, such as on/off.
Switches on iOS are implemented with the built-in UIKit component UISwitch.
UISwitch
See Apple documentation on UISwitch for the public API.