NSString *currentOS = [[UIDevice currentDevice] systemVersion];
NSString *currentOS = [[UIDevice currentDevice] systemVersion];
if ([currentOS compare:@"4.2" options:NSNumericSearch] != NSOrderedAscending)
{
NSLog(@"Yes, it is greater than or equal to 4.2");
}
No comments:
Post a Comment