title: iOS 6  Rotation issue - No rotation from Presented Modal View Controller
body: <p>I have a MainViewController which has a button which pushes a new view (InfoViewController), via flip horizontailly. like so:</p>
  
  <pre><code>controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
  [self presentModalViewController:controller animated:YES];
  </code></pre>
  
  <p>The MainView Controller supports Portrait and PortraitUpsideDown. Like so:</p>
  
  <pre><code>- (BOOL)shouldAutorotate {
      return YES;    
  }
  
  - (NSUInteger)supportedInterfaceOrientations {    
      return (UIInterfaceOrientationMaskPortrait | 
              UIInterfaceOrientationMaskPortraitUpsideDown);
  }
  </code></pre>
  
  <p>In my InfoViewController it also states the above code. In my AppDelegate it has this in the LaunchOptions:</p>
  
  <pre><code>[self.window setRootViewController:self.mainViewController];
  </code></pre>
  
  <p>In my app.plist file it supports all orientations. This is because other views need to support landscape as well. So On my MainViewController and InfoViewController I need only Portrait and PortraitUpsideDown. But on another view I need all orintations.</p>
  
  <p>My MainViewController works fine, but my InfoViewController is working for all orientations.</p>
  
  <p>I am having extreme diffulty trying to get this to work in iOS6. I have researched other posts and tried the assistance other people have provided, but had no luck whatsoever. Please can someone help me acheive this thank you. And I'm a Objective-C newbie :p</p>