Questions tagged [uiswitch]
The UISwitch class is essential for creating and controlling the On/Off buttons commonly found in iOS interfaces, like the preferences pane for services such as Airplane Mode. These interactive elements are known simply as switches.
With the UISwitch class, developers can declare a property and method to handle the switch's on/off state. Similar to UISlider, the switch control triggers a UIControlEventValueChanged event when manipulated by the user, prompting the control to send an action message.