Last active
December 24, 2015 07:39
-
-
Save berikv/6765119 to your computer and use it in GitHub Desktop.
Check iOS version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) { | |
// Load resources for iOS 6.1 or earlier | |
} else { | |
// Load resources for iOS 7 or later | |
} | |
// But only in XCode 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment