Created
July 25, 2012 12:49
-
-
Save dhilipsiva/3176008 to your computer and use it in GitHub Desktop.
iOS 6 UI interface Orientation - shouldAutorotateToInterfaceOrientation: Not working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef enum { | |
UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait), | |
UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft), | |
UIInterfaceOrientationMaskLandscapeRight = (1 << UIInterfaceOrientationLandscapeRight), | |
UIInterfaceOrientationMaskPortraitUpsideDown = (1 << UIInterfaceOrientationPortraitUpsideDown), | |
UIInterfaceOrientationMaskLandscape = | |
(UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight), | |
UIInterfaceOrientationMaskAll = | |
(UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft | | |
UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskPortraitUpsideDown), | |
UIInterfaceOrientationMaskAllButUpsideDown = | |
(UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft | | |
UIInterfaceOrientationMaskLandscapeRight), | |
} UIInterfaceOrientationMask; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment