 <p>You need to subclass the view controller, and then return NO from shouldAutoRotate </p> <pre><code>-(BOOL) shouldAutorotate { return NO; } </code></pre> <p><a href="https://developer.apple.com/library/ios/documentation/uikit/reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instm/UIViewController/shouldAutorotate" rel="nofollow">https://developer.apple.com/library/ios/documentation/uikit/reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instm/UIViewController/shouldAutorotate</a></p>