title: shouldAutorotateToInterfaceOrientation & UINavigationController
body: <p>I'm trying to implement auto-rotation in my application that is basically UINavigationController with lots of UIViewControllers that get pushed onto it.</p>
  
  <p>I've copy-pasted this in my first UIViewController (that gets pushed into UINavigationController):</p>
  
  <pre>
  - (BOOL)shouldAutorotateToInterfaceOrientation:
  (UIInterfaceOrientation)interfaceOrientation {
   return YES;
  }
  </pre>
  
  <p>Everything worked fine... However, if I paste in that code into second UIViewController (that first one pushes on top after some button click) - autorotation won't work. shouldAutorotateToInterfaceOrientation gets called when UIViewController is first initialized, but after it is visible and I rotate device - nothing happens.</p>
  
  <p>So result is: first view gets rotated well - portrait/landscape... but after I click button and get into second view I remain stuck into that portrait or landscape, whatever was active.</p>
  
  <p>I tried subclassing UINavigationController and setting shouldAutorotateToInterfaceOrientation there, but that also doesn't work.</p>
  
  <p>What am I doing wrong?</p>