UISwitch
public extension UISwitch
-
Turn the UISwitch on or off
Declaration
Swift
@discardableResult func turn(on: Bool) -> Self
-
Turn the UISwitch on
Declaration
Swift
@discardableResult func turnOn() -> Self
-
Turn the UISwitch off
Declaration
Swift
@discardableResult func turnOff() -> Self