Switch Button Swift 5

[Solved] Switch Button Swift 5 | Swift - Code Explorer | yomemimo.com
Question : switch button swift 5

Answered by : lazy-lizard-0whdw20sod6q

 @IBAction func switch(_ sender: Any) { if ((sender as AnyObject).isOn == true) { //Yes } else { //No } }

Source : | Last Update : Tue, 29 Dec 20

Answers related to switch button swift 5

Code Explorer Popular Question For Swift