Skip to content

Instantly share code, notes, and snippets.

@funkydevil
Created April 7, 2015 15:43
Show Gist options
  • Save funkydevil/f774c2541391e44cad02 to your computer and use it in GitHub Desktop.
Save funkydevil/f774c2541391e44cad02 to your computer and use it in GitHub Desktop.
ORIENTATION MACRO
#define IS_LANDSCAPE_ORIENTATION (UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment