title: Autorotate with a UINavigationController
body: <p>I am a little unclear on how to rotate views that are sitting on a UINavigationController.</p>
  
  <p>I have overridden the UINavigationController object with one of my own that overrides:</p>
  
  <blockquote>
    <ul>
    <li>(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { return YES; }</li>
    </ul>
  </blockquote>
  
  <p>I have one view on the stack on the controller and that view is loaded from a xib with two views in it.  I want to switch from portrait to landscape.  Normally I would handle this by changing the view from within the nib files of the view itself.  Do I have to implement the rotational code within the Navigation Controller or just within my view code?</p>
  
  <blockquote>
    <ul>
    <li>(void)willAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation 
                                                                                                duration:(NSTimeInterval)duration</li>
    </ul>
  </blockquote>
  
  <p>That willAnimate code is what I'm used to using in the view itself, but I'm still not seeing the view being changed, and I'm thinking it may be that I need to access the view in the NavigationController and change that, or even override the same method in the Navigation Controller and do my view switching there.</p>
  
  <p>Any suggestions?  I've never actually done this before and just found out the TabViewControllers and NavigationControllers are both portrait mode only by default.</p>