27. UIApplication
- (NSUInteger)supportedInterfaceOrientationsForWindow:
(UIWindow *)window
The default implementation of this method returns the app’s
default set of supported interface orientations, as defined in
the UIInterfaceOrientation key of the Info.plist file.
If the file does not contain that key, this method returns all
interface orientations for the iPad idiom and returns all
interface orientations except the portrait upside-down
orientation for the iPhone idiom.
28. UIApplication
- (NSUInteger)supportedInterfaceOrientationsForWindow:
(UIWindow *)window
The default implementation of this method returns the app’s
default set of supported interface orientations, as defined in
the UIInterfaceOrientation key of the Info.plist file.
If the file does not contain that key, this method returns all
interface orientations for the iPad idiom and returns all
interface orientations except the portrait upside-down
orientation for the iPhone idiom.
Info.plistに
UISupportedInterfaceOri
entations有
UISupportedInterfaceOrientationsの値
Info.plistに
UISupportedInterfaceOri
entations無
iPhone
UIInterfaceOrientationMaskAllButUpsideDown
iPad
UIInterfaceOrientationMaskAll