I want to check if the iOS version of the device is greater than 3.1.3 I tried things like:
iOS
3.1.3
[[UIDevice currentDevice].systemVersion
#define _kisiOS7 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) if (_kisiOS7) { NSLog(@"iOS7 or greater") } else { NSLog(@"Less than iOS7"); }