Skip to content

Instantly share code, notes, and snippets.

@sTinGe
Created July 10, 2018 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sTinGe/ee7476a4d6283506ace96eb8539e6605 to your computer and use it in GitHub Desktop.
Save sTinGe/ee7476a4d6283506ace96eb8539e6605 to your computer and use it in GitHub Desktop.
typedef NS_ENUM(NSInteger, UIDeviceOrientation) {
UIDeviceOrientationUnknown,
UIDeviceOrientationPortrait, // Device oriented vertically, home button on the bottom
UIDeviceOrientationPortraitUpsideDown, // Device oriented vertically, home button on the top
UIDeviceOrientationLandscapeLeft, // Device oriented horizontally, home button on the right
UIDeviceOrientationLandscapeRight, // Device oriented horizontally, home button on the left
UIDeviceOrientationFaceUp, // Device oriented flat, face up
UIDeviceOrientationFaceDown // Device oriented flat, face down
} __TVOS_PROHIBITED;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment