I'm adding a push button to my app to trigger the cancel function, but to do that I need to know if a button has been pushed or not.
Is there a method I can use to query the position of the button? Something like [cancelButton getButtonStatus]; or something. It is an ON/OFF button, which means I'd like to reset the button after it's clicked.
Any suggestions?
Is there a method I can use to query the position of the button? Something like [cancelButton getButtonStatus]; or something. It is an ON/OFF button, which means I'd like to reset the button after it's clicked.
Any suggestions?