Sent to the delegate before an alert view is dismissed.
- iOS 2.0–9.0Deprecated
The alert view that is about to be dismissed.
The index of the button that was clicked. The button indices start at
0. If this is the cancel button index, the alert view is canceling. If
-1, the cancel button index is not set.
This method is invoked before the animation begins and the view is hidden.