title: Can't figure out how to get UpSide down orientation to work in iOS 8?
body: <p>I added UIScreen bounds code in AppDelegate.m for iPhone 6 and now device orientation for iPhone 6 won't work for Portrait/ Upside Down. Upside Down is what's not working in simulator and devices.</p>
  
  <p>Code in AppDelegate.m</p>
  
  <pre><code> CGSize iosScreenSize = [[UIScreen mainScreen] bounds].size;
  
      if (iosScreenSize.height == 667) {
  
          UIStoryboard *iPhone6 = [UIStoryboard storyboardWithName:@"iPhone6" bundle:nil];
  
          UIViewController *initialViewController =[iPhone6 instantiateInitialViewController];
  
          self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen]bounds]];
  
          self.window.rootViewController = initialViewController;
  
          [self.window makeKeyAndVisible];
      }
  </code></pre>
  
  <p>When I included the above code the simulator and device for iPhone 6 doesn't detect Upside Down orientation. I also used nativeBounds and screenBounds, didn't work either for Upside Down orientation.</p>
  
  <p>My code for device orientation...</p>
  
  <pre><code> -(NSUInteger)supportedInterfaceOrientations {
  return (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown);
   }
  </code></pre>
  
  <p>I have no idea what to do to get AppDelegate code to let UpSide Down orientation be detected for iPhone 6. </p>