Created
July 10, 2018 14:43
-
-
Save sTinGe/2af78544671825c97b9bbeac595ea7e5 to your computer and use it in GitHub Desktop.
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
// Note that UIInterfaceOrientationLandscapeLeft is equal to UIDeviceOrientationLandscapeRight (and vice versa). | |
// This is because rotating the device to the left requires rotating the content to the right. | |
typedef NS_ENUM(NSInteger, UIInterfaceOrientation) { | |
UIInterfaceOrientationUnknown = UIDeviceOrientationUnknown, | |
UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait, | |
UIInterfaceOrientationPortraitUpsideDown = UIDeviceOrientationPortraitUpsideDown, | |
UIInterfaceOrientationLandscapeLeft = UIDeviceOrientationLandscapeRight, | |
UIInterfaceOrientationLandscapeRight = UIDeviceOrientationLandscapeLeft | |
} __TVOS_PROHIBITED; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment