Created
September 10, 2014 07:48
-
-
Save toto/5bac71f9bbe409b2a352 to your computer and use it in GitHub Desktop.
Check iOS System version
This file contains hidden or 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
NSOperatingSystemVersion ios8_0_1 = (NSOperatingSystemVersion){8, 0, 1}; | |
if ([[NSProcessInfo processInfo] isOperatingSystemAtLeastVersion:ios8_0_1]) { | |
// foo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment