title: ios 6.0 shouldautorotate issues
body: <p>I have an app that is on the app store supporting version ios5+.  When I deployed this app to the store the base sdk was set to 5.0 and the deployment target was ios 5.0.  It is currently running fine on ios 5 and 6 devices.</p>
  
  <p>I have since upgraded my IDE to ios 6.0 - the base SDK is 6.0 and the deployment target is 5.0. however when I run this app in the 6.0 simulator or device I get shouldautorotate issues due that message being depreciated.</p>
  
  <ol>
  <li>Why if my deployment target is 5.0 is giving me these issues - I don't want to use ios 6.</li>
  <li>Why can I not set my base sdk to 5.0?</li>
  </ol>
  
  <p><strong>Update:</strong>
  This is how my controller looks currently.  Unfortunately the preferredInterfaceOrientation is only getting called once not every time the orientation changes - this is no good for me as I manipulate the view in this method:</p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
  {
      [self layoutHomeViewButtons:toInterfaceOrientation];
  
      return YES;
  }
  
  - (BOOL)shouldAutorotate
  {
      return YES;
  }
  
  - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
  {
      return UIInterfaceOrientationLandscapeRight;
  }
  
  - (NSUInteger)supportedInterfaceOrientations
  {
  
      [self layoutHomeViewButtons:[self getInterfaceOrientation]];
  
      return UIInterfaceOrientationMaskAll;
  }
  </code></pre>
  
  <p><strong>Update 2:</strong>
  I have figured out how to get the supportInterfaceOrientations method to get called.  In my MainWindow.xib I have a navigationcontroller set as the window's root view controller.  As a subitem of this navigationcontroller I have my homeviewcontroller where the code above resides.</p>
  
  <p>If I change this link so that the window's rootviewcontroller is the homeviewcontroller then the method gets called.  However I need this navigationcontroller for my ui!</p>