Skip to content

Instantly share code, notes, and snippets.

@allgamesallfree
Last active October 25, 2017 16:44
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 allgamesallfree/eaed91a4a9740a1a0c470d37ebe64d11 to your computer and use it in GitHub Desktop.
Save allgamesallfree/eaed91a4a9740a1a0c470d37ebe64d11 to your computer and use it in GitHub Desktop.
Compare if iOS Screen is larger than an iPhone 5
if ([UIScreen current] > ScreenTypeIPhone4_0) {
NSLog(@"Screen is larger than an iPhone 5/5S/5C");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment