title: iPhone/iPad App Orientation
body: <p>The iPhone version of my app supports <code>UIDeviceOrientationPortraitUpsideDown</code> and <code>UIDeviceOrientationPortrait</code>, but the iPad version supports all Orientations.</p>
  
  <p>In my view controller I have this:</p>
  
  <pre><code>-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation     {
      return YES;
  }
  </code></pre>
  
  <p>and my Info.plist file has this:</p>
  
  <p><img src="https://i.stack.imgur.com/3EWFE.png" alt="enter image description here"></p>
  
  <p>The problem is that when I build the app to my iPod, the app won't turn upside down. The iPad will support all Orientations.</p>
  
  <p>I've tried removing the <code>shouldAutorotateToInterfaceOrientation</code> all together and I've tried this code:</p>
  
  <pre><code>-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
      return (interfaceOrientation = UIDeviceOrientationLandscapeLeft) &amp;&amp; (interfaceOrientation = UIDeviceOrientationLandscapeRight) &amp;&amp; (interfaceOrientation = UIDeviceOrientationPortraitUpsideDown) &amp;&amp; (interfaceOrientation = UIDeviceOrientationPortrait);
  }
  </code></pre>
  
  <p>But for some reason, the upside down just won't work! Are there any other solutions for this?</p>
  
  <p><strong>Edit: using Xcode 4.5 iOS6</strong></p>