title: iOS 6 device orientation issue
body: <p>I have 2 view controllers. I want 1st viewcontroller to be Portrait mode only while 2nd viewController should support all orientations. Please help me.</p>
  
  <p>In AppDelegate class, my code is :</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
  
      self.viewController = [[[ViewController alloc] initWithNibName:@"ViewController" bundle:nil] autorelease];
      UINavigationController * navController = [[UINavigationController alloc] initWithRootViewController:self.viewController];
      self.window.rootViewController = self.viewController;
    //  [self.window addSubview:navController.view];
      [self.window makeKeyAndVisible];   
      return YES;
  }
  - (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
      NSLog(@"supportedInterfaceOrientationsForWindow");
      return  UIInterfaceOrientationMaskAllButUpsideDown;
  }
  </code></pre>
  
  <p>1st ViewController code is:</p>
  
  <pre><code>-(BOOL)shouldAutorotate
  {
      return NO;
  }
  
  
  -(NSUInteger)supportedInterfaceOrientations
  {
      return UIInterfaceOrientationMaskPortrait;
  }
  // Tell the system which initial orientation we want to have
  - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
      return UIInterfaceOrientationMaskPortrait;
  }
  </code></pre>
  
  <p>2nd ViewController code is:</p>
  
  <pre><code>-(NSUInteger)supportedInterfaceOrientations
  {
      return UIInterfaceOrientationMaskAllButUpsideDown;
  }
  
  -(BOOL)shouldAutorotate
  {
      return YES;
  }
  
  // Tell the system which initial orientation we want to have
  - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
      return UIInterfaceOrientationMaskAllButUpsideDown;
  }
  </code></pre>
  
  <p>What i inspect is 'shouldAutorotate' method is not called for 1st and 2nd ViewController.</p>
  
  <p>Your quick help will highly be appreciable.
  Thanks.
  Kashif</p>