Device iOS Version
suggest changeThis will give current system version.
Objective-C
NSString *version = [[UIDevice currentDevice] systemVersion]
Swift
let version = UIDevice.currentDevice().systemVersion
Swift 3
let version = UIDevice.current.systemVersion
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents