title: alertView didDismissWithButtonIndex never called
body: <p>Please excuse me if something is not post right... first time posting.</p>
  
  <p>I have seen a few questions simular to this but none with the same problem. I am running IOS 6.1 and Xcode 4.6. The problem is that didDismiss is never called, only willDismiss. My code is below along with the log output. Any ideas?</p>
  
  <pre><code>#import "MenkLabUIAlertTestViewController.h"
  
  @interface MenkLabUIAlertTestViewController ()
  
  @end
  
  @implementation MenkLabUIAlertTestViewController
  
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      if (self) {
          // Custom initialization
      }
      return self;
  }
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view.
  
  
  }
  - (IBAction)test:(id)sender {
      UIAlertView *av  = [[UIAlertView alloc] initWithTitle:@"Encrypting File(s)" message:@"Please wait..." delegate:self cancelButtonTitle:nil otherButtonTitles:nil, nil];
      //    UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
      [av show];
      [av dismissWithClickedButtonIndex:-1 animated:YES];
  }
  
  - (void) alertView:(UIAlertView *)alertView willDismissWithButtonIndex:(NSInteger)buttonIndex {
      NSLog(@"willDISMIS");
  }
  
  - (void) alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {
      NSLog(@"didDISMIS");
     }
  
  
  - (void)didReceiveMemoryWarning
  {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  @end
  </code></pre>
  
  <p>Log output:</p>
  
  <p>2013-07-08 17:27:04.055 testUIAlertView[10534:11303] willDISMIS</p>
  
  <p>This is just a test app, however, it is the exact same problem that exists in my current application.</p>
  
  <p>Thanks in advanced. Been racking my head on this all day!</p>