Checking IOS version
Posted in code on January 29th, 2013 by lucy – Be the first to commentEasy as, here it is for 6. You can change to 5’s if that’s what you need.
-(BOOL) isIOS6 {
if([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0){
return YES;
}else{
return NO;
}
}
if([[[UIDevice currentDevice] systemVersion] floatValue] >= 6.0){
return YES;
}else{
return NO;
}
}