title: UIView in front of everything not rotating with screen?
body: <p>I have this code:</p>
  
  <pre><code>UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
      imageView.image = [UIImage imageNamed:@"image.png"];
  
      UIApplication *app = [UIApplication sharedApplication];
  
      [app addSubViewOnFrontWindow:imageView];
  </code></pre>
  
  <p>...</p>
  
  <pre><code>- (void)addSubViewOnFrontWindow:(UIView *)view {
      int count = [self.windows count];
      UIWindow *w = [self.windows objectAtIndex:count - 1];
      [w addSubview:view];
  }
  </code></pre>
  
  <p>The problem is, when the app rotates, the view on the front doesn't rotate. It just stays in portrait.</p>
  
  <p>How can I get this to rotate normally with the rest of the device?</p>