In IOS8, the list of possible orientations should be in the Info.plist file, the shouldAutorotate method returns YES by default.
Take a look at the discussion and documentation below:
fooobar.com/questions/226383 / ...
UIKit Link: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/index.html#//apple_ref/occ/instm/UIViewController/supportedInterfaceOrientations
When the user changes the orientation of the device, the system calls this method on the root view controller or the top view that fills the window. If the view controller supports the new orientation, the window and the view controller are rotated to the new orientation. This method is only called if the toAutorotate controller returns YES.
Cancel this method to report all orientations that the view controller supports. The default values ββfor the view controller supported interface orientation are set to UIInterfaceOrientationMaskAll for the iPad idiom and UIInterfaceOrientationMaskAllButUpsideDown for the iPhone idiom.
The system crosses views supported by the view mode with the orientations supported by the application (as defined by the Info.plist file or application delegate application: supportedInterfaceOrientationsForWindow: method) to determine whether to rotate.
source share