title: iPad Launch image in landscape orientation rotated by 90 degree counterclockwise
body: <p>i just added a launch image to an application i wrote.  According to several sources that image should be 1024 x 748 (minus 20 px for the status bar).</p>
  
  <p>So i created such an image, named it Default-Landscape~ipad.png and set these values in the -Info.plist:</p>
  
  <pre><code>&lt;key&gt;LSRequiresIPhoneOS&lt;/key&gt;
  &lt;true/&gt;
  &lt;key&gt;UISupportedInterfaceOrientations~ipad&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
      &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
  &lt;/array&gt;
  &lt;key&gt;UILaunchImageFile~ipad&lt;/key&gt;
  &lt;string&gt;Default-Landscape~ipad.png&lt;/string&gt;
  &lt;key&gt;UIInterfaceOrientation&lt;/key&gt;
  &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
  &lt;key&gt;UILaunchImageFile&lt;/key&gt;
  &lt;string&gt;Default-Landscape~ipad.png&lt;/string&gt;
  &lt;key&gt;UISupportedInterfaceOrientations&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;UIInterfaceOrientationLandscapeLeft&lt;/string&gt;
      &lt;string&gt;UIInterfaceOrientationLandscapeRight&lt;/string&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p>I know, there is UILaunchImageFile and UILaunchImageFile~ipad in there, i also tried that with only one of them in there.</p>
  
  <p>What i observe is that the launch image is displayed, but it is rotated by 90 degrees counterclockwise, scaled to cover the whole screen (which creates some parts that will not be visible) and then cropped.</p>
  
  <p>Whatever i tried, i could not get the launch image to display correctly in landscape orientation.</p>
  
  <p>That app i write is iPad only, no universal app, it is for iPad 1 running iOS 5.1.  I use Xcode 4.3.1.</p>
  
  <p>What do i need to do to display the launch image correctly in landscape orientation?</p>
  
  <p>EDIT:
  In the MainWindow.xib the main window is in portrait orientation, i think it is likely that this influences the problem.  I've put the main window into portrait mode as adding and removing subviews was a problem in landscape mode.
  This hint i also got on StackOverflow.
  So the real question could be: How do i create an iPad app that works in landscape mode and in which i can add / remove subviews to the main window?</p>
  
  <p>Thanks for any hints,
  Torsten.</p>