UIAlertView easy way to tell if cancel button is selected

Viewed 19300

I know I've done this before but I just can't figure it out again.

What is the method I would use to see if a cancel button was pressed. I don't want to do it based on the button index. There is a way to do it, something like:

[alertView isCancelIndex:index];

Anyone know?

3 Answers
Related