Created
July 9, 2014 11:11
-
-
Save funkydevil/80626ba9bb087ad3b667 to your computer and use it in GitHub Desktop.
check ios version (taken from http://ios-blog.co.uk/tutorials/quick-tips/how-to-check-ios-version-at-runtime/)
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 earlier versions | |
} else { | |
//load resources for iOS 7 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment