Switch
A control that offers a binary choice, such as on/off
iOS (UIKit) is being deprecated
Thumbprint on iOS is transitioning from UIKit to SwiftUI, and this documentation is no longer being supported. Please refer to the SwiftUI documentation when available.
Switches on iOS are implemented with the built-in UIKit component UISwitch
.
Public API
See Apple documentation on UISwitch for the public API.