3 works

Check iOS Version


dashboard+ Project

Posted by @mishka #ios #swift

Code snippet:

[[NSProcessInfo processInfo] operatingSystemVersion]
content_copyCopy to Clipboard

More details:

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

Code snippet source:

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

>> Browse more code snippets

more_vert