mercredi 8 décembre 2021

UI Button "if" statement in swift

when I type the code in, there is an error saying this:

picture of the error: https://i.stack.imgur.com/ixFaM.png

How can I fix it?

 @IBAction func nextQuestionButton(_ sender: Any) {
        if (nextQuestionButton.isSelected == true) {
            
        }

Aucun commentaire:

Enregistrer un commentaire