title: Launch iPhone App in iPad with landscape mode
body: <p>In the project summary, "Supported Interface Orientations" are all selected, as there is a photo gallery view in my App, which can be rotated with device. The other views are portrait only. The target devices is iPhone, and all things perform well in the iPhone. But when it runs in my iPad with landscape mode, the splash and the rootView are as following:</p>
  
  <p>splash-landscape:
  <img src="https://i.stack.imgur.com/fAGgZ.png" alt="enter image description here"></p>
  
  <p>rootview-landscape:
  <img src="https://i.stack.imgur.com/z07nb.png" alt="enter image description here"></p>
  
  <p>What I expected look should be the same as the iPad is with portrait mode:</p>
  
  <p>splash-portrait:
  <img src="https://i.stack.imgur.com/zVryR.png" alt="enter image description here"></p>
  
  <p>rootview-portrait:
  <img src="https://i.stack.imgur.com/D2aZP.png" alt="enter image description here"></p>
  
  <p>The rootView is <code>MyNavigationController</code>, some related code is as following:</p>
  
  <p><strong>MyNavigationController.m</strong></p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
  {
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
  }
  
  - (NSUInteger)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskPortrait;
  }
  
  - (BOOL)shouldAutorotate {
    return NO;
  }
  </code></pre>