title: IOS6: Size of View in Landscape
body: <p>just updated to IOS SDK 6 and now I'm confused. Tried to find a solution but I failed. </p>
  
  <ol>
  <li>Created a new "Single View iPad APP" (I have an iPad 3) in xcode</li>
  <li>Disabled Portrait &amp; Upside-Down interface orientations in TARGETS->Summary</li>
  <li>Set simulated metrics "orientation" to "Landscape"</li>
  <li><p>Added following lines of code into the view controller file:</p>
  
  <pre><code>- (BOOL)shouldAutorotate {
       return YES;
  }
  
  - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
      return UIInterfaceOrientationLandscapeLeft | UIInterfaceOrientationLandscapeRight;
  }
  
  - (NSUInteger)supportedInterfaceOrientations {
      return UIInterfaceOrientationMaskLandscape;
  }
  
  - (void)viewDidAppear:(BOOL)animated {
      [super viewDidAppear:animated];
      NSLog(@"%@", NSStringFromCGRect(self.view.frame));
  }
  </code></pre></li>
  <li><p>Run APP</p></li>
  </ol>
  
  <p>My output is: <strong>2012-10-09 18:18:40.149 TestApp[6165:907] {{20, 0}, {748, 1024}}</strong>
  Does anybody know why the frame is not <strong>... {{0, 20}, {1024, 748}}</strong> as I would expect? Maybe I missed something!</p>
  
  <p>Thank you!</p>