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
Just for retrieving the OS version string value:
[[UIDevice currentDevice] systemVersion]