- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
+ (BOOL) isIOS32orGreater
{
NSString *version = [[UIDevice currentDevice] systemVersion];
NSArray *parts = [version componentsSeparatedByString:@"."];
if ([[parts objectAtIndex:0] isEqualToString:@"4"])
{
return YES;
}
else
if ([[parts objectAtIndex:1] isEqualToString:@"2"])
{
return YES;
}
return NO;
}