3 works

Check iOS Version


dashboard+ Project

Posted by @mishka #ios #swift

[[NSProcessInfo processInfo] operatingSystemVersion]
content_copyCopy to Clipboard

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

>> Browse more code snippets

more_vert