title: iOS 7: UIAlertView created in UIActionSheet delegate function cannot auto rotate
body: <p>The issue only can be reproduced in iOS 7. </p>
  
  <p>In the delegate function:<code>- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex</code>, if a UIAlertView is created, the alert view cannot auto rotate. Here is the sample code: </p>
  
  <pre><code>- (IBAction)buttonTapped:(id)sender
  {
      UIActionSheet *actionSheet = [[UIActionSheet alloc]
                                    initWithTitle:@"action sheet"
                                    delegate:self
                                    cancelButtonTitle:@"cancel"
                                    destructiveButtonTitle:@"ok"
                                    otherButtonTitles:nil];
      [actionSheet showInView:self.view];
  }
  
  - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
  {
      UIAlertView *alert = [[UIAlertView alloc]
                            initWithTitle:@"alert"
                            message:nil
                            delegate:self
                            cancelButtonTitle:@"ok"
                            otherButtonTitles:nil];
      [alert show];
  }
  </code></pre>
  
  <p>Is this a bug of iOS 7? If yes, is there any way to make the alert view auto rotate with the other view in the screen?</p>