Skip to content

Instantly share code, notes, and snippets.

@markSci5
Created July 16, 2013 08:00
Show Gist options
  • Select an option

  • Save markSci5/6006720 to your computer and use it in GitHub Desktop.

Select an option

Save markSci5/6006720 to your computer and use it in GitHub Desktop.
iOS 7 and 6 detection
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) {
// Load resources for iOS 6.1 or earlier
} else {
// Load resources for iOS 7 or later
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment