Checking IOS version

Easy 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;
    }
}

Leave a Reply