i want get state checkbox index 1 2 3 4
I have tried the below code but it doesn't seem to work
app.checkBoxes.element(boundBy: 1)
Can someone please tell what i am doing wrong.
i want get state checkbox index 1 2 3 4
I have tried the below code but it doesn't seem to work
app.checkBoxes.element(boundBy: 1)
Can someone please tell what i am doing wrong.
In order to have the checkbox state, you can use this:
yourCheckbox.value as! String
If the checkbox is checked, the value is "1" ; otherwise the value is "0".