Created
November 10, 2010 12:13
-
-
Save jdelStrother/670771 to your computer and use it in GitHub Desktop.
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
NSString *requiredIOS = @"4.0"; | |
NSString *currentIOS = [[UIDevice currentDevice] systemVersion]; | |
// Blocks are kinda available but broken and unsupported on 3.2 - just test the version number to see if we have block support | |
ABBlocksSupported = (CFStringCompare((CFStringRef)currentIOS, (CFStringRef)requiredIOS, kCFCompareNumerically) != kCFCompareLessThan); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment