Skip to content

Instantly share code, notes, and snippets.

@SAllen0400
Created December 25, 2016 21:23
Show Gist options
  • Save SAllen0400/75fe441fb1603265c27bdae9b41787ef to your computer and use it in GitHub Desktop.
Save SAllen0400/75fe441fb1603265c27bdae9b41787ef to your computer and use it in GitHub Desktop.
Using Screen Size Struct
if DeviceTypes.iPhone5 || DeviceTypes.iPhone7Zoomed {
// Do any iPhone 5 (or iPhone7 Zoomed mode) specific code here
}
if DeviceTypes.iPhone7PlusStandard {
// Do any iPhone 7 Plus specific code here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment