The UIAlertviewDelegate protocol has several optional methods including:
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonInd
willPresentAlertView:, didPresentAlertView:, alertView:willDismissWithButtonIndex:, and alertView:didDismissWithButtonIndex: are for tracking the start and end of UIAlertView's animations.
Applications that don't need to track UIAlertView's animations can simply use alertView:clickedButtonAtIndex:. The docs for that method say "the receiver is automatically dismissed after this method is invoked."