Priyanka Kanse
Priyanka Kanse

Reputation: 1151

Check available software update available for iOS

In my project I want to check whether my iPhone's (system's) iOS version is updated to latest released apple iOS version or not..

For getting current iPhone iOS version I have used following code

var systemVersion = UIDevice.current.systemVersion

I would like to know is there any way by which I came to know the latest iOS released by apple??

Upvotes: 1

Views: 594

Answers (2)

ODev99
ODev99

Reputation: 34

AFAIK there is no public API available to check the latest iOS Version available at the moment.

What you can do is probably set-up an API at your own server and use it to check the latest iOS version available. Of Course that means manually updating the API whenever a new version is released by apple.

Upvotes: 2

Syed faizan ali
Syed faizan ali

Reputation: 44

you can achieve it by latest version check by this code

let floatVersion = (UIDevice.current.systemVersion as NSString).floatValue

Upvotes: -1

Related Questions