title: iOS 6 - (BOOL)shouldAutorotate not getting called for navigation controllers pushed viewControllers
body: <p>For my app <code>rootViewController</code> is <code>navgationController</code>.</p>
  
  <p>I found that 
  pushed controller's  </p>
  
  <p><code>-(BOOL)shouldAutorotate</code> is not getting called.</p>
  
  <p>and </p>
  
  <p><code>-(NSUInteger)supportedInterfaceOrientations</code> get called only once.</p>
  
  <p>I have checked correctly in <code>xcode's</code> project summary (or <code>plist</code>) for windows all orientation support.</p>
  
  <p>I want these method to get called, as there is some uicontrol positioning code which i want to execute programmatically for orientation change.</p>
  
  <p>I solved this problem by overriding (category) navigation controller's following methods</p>
  
  <pre><code>-(BOOL)shouldAutorotate;
  
  -(NSUInteger)supportedInterfaceOrientations;
  </code></pre>
  
  <p>I checked which controller is getting pushed and accordingly called respective pushed controller's uicontrol positioning code in Navigation controller's following method</p>
  
  <pre><code>(NSUInteger)supportedInterfaceOrientations;
  </code></pre>
  
  <p>This is working fine but i dont think this is correct way. Please help me out for better solution.</p>