title: Interface Orientation won't change to Landscape on App Launch
body: <p>i stuck on a problem that drives me crazy!
  I have an iPad application starting with a TabBarViewController. Every Tab has it's own ViewController and nib-file.</p>
  
  <p>To make interface orientation possible I added all orientations to my info.plist and subclassing my TabBarController to set:</p>
  
  <pre><code>        - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
          return YES;
  }
  </code></pre>
  
  <p>Every View is autoresized and formatted well for displaying the right Orientation if I rotate the Interface. If I test it in the simulator, everything looks fine and I can rotate between the Orientations.</p>
  
  <p>Now the point that drives me crazy:</p>
  
  <p>If I launch the App in Portrait Mode, all works fine.. but if I launch in Landscape, I get an error and my Interface orientation seems still to be Portrait, while the Simulator is in Landscape Mode!!</p>
  
  <p>The Error:</p>
  
  <pre><code>2011-05-24 21:50:15.011 Project[57995:207] Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations.
  </code></pre>
  
  <p>I checked for Orientation like this:</p>
  
  <pre><code>    -(void)viewWillAppear:(BOOL)animated{
  
      UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
  
  
  
      if ((orientation == UIInterfaceOrientationLandscapeLeft) || (orientation == UIInterfaceOrientationLandscapeRight)) {
          NSLog(@"Orientation: Landscape");
      }
      else{
          NSLog(@"Orientation: Portrait");
      }
  
  }
  </code></pre>
  
  <p>The Log says it is in "Landscape" Mode if I launch in Landscape, but if I change tab to another it looks terrible because the View is displayed in Portrait mode instead.
  On change back to the start-view where i asked for Orientation… the log displays "Portrait"… but the Simulator is still Landscape!</p>
  
  <p>I can't figure out why the Orientation is Portrait on start,…
  even if I start in Landscape…</p>
  
  <p>Any idea how to solve this problem?</p>