HOW TO CHECK IOS VERSION?

ezra heywood

Total Post:145

Points:1019
Posted by  ezra heywood
iPhone  Ios 
 789  View(s)
Ratings:
Rate this:
I want to check if the iOS version of the device is greater than 3.1.3 I tried things like:

[[UIDevice currentDevice].systemVersion floatValue]
but it does not work, I just want a:

if (version > 3.1.3) { }
How can I achieve this?
  1. Mayank Tripathi

    Post:397

    Points:3117
    Re: How to check iOS version?

    [[NSProcessInfo processInfo] operatingSystemVersion] 
    in iOS 8 and above.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!