title: How to lock orientation in UINavigationControllers
body: <p>As the <code>ShouldAutorotateToInterfaceOrientation</code> is deprecated in <strong>iOS 6</strong> I am not able to lock the orientation in my app. In my app I have <code>UINavigationControllers</code> with multiple views, some views need to support both portrait and landscape, while other views need to support portrait only. How can I over come this problem please suggest me some idea.</p>
  
  <p>Thanks</p>