devicekit / DeviceKit

DeviceKit is a value-type replacement of UIDevice.
MIT License
4.4k stars 425 forks source link

List supported iOS versions by device #354

Open battlmonstr opened 1 year ago

battlmonstr commented 1 year ago

Hello,

I'd like to check if iOS can be upgraded by an app user. Implementing it requires to maintain a "Max iOS" list like here: https://iosref.com/ios (see the rightmost column) ( this info could also be verified here: https://support.apple.com/en-gb/guide/iphone/iphe3fa5df43/16.0/ios/16.0 )

Is it in the scope of this library? Would you accept a PR with this or is it better be a separate library?

It could be useful in the context of this library in order to mark obsolete devices in the list. For example, as this library works on iOS 11+, then devices like iPhone 5 and below could be removed, because they don't support iOS 11+.