3 points

Check iOS Version


dashboard

Posted by @mishka #ios #swift

[[NSProcessInfo processInfo] operatingSystemVersion]
content_copy Copy

You need to check the system version and perform a comparison. Use [[NSProcessInfo processInfo] operatingSystemVersion] in iOS 8 and above.

https://stackoverflow.com/questions/3339722/how-to-check-ios-version