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
+(BOOL)doesSystemVersionMeetRequirement:(NSString *)minRequirement{ // eg NSString *reqSysVer = @"4.0"; NSString *currSysVer = [[UIDevice currentDevice] systemVersion]; if ([currSysVer compare:minRequirement options:NSNumericSearch] != NSOrderedAscending) { return YES; }else{ return NO; } }