Regex for iOS 16, iPadOS 16, and tvOS 16

skeenan07
New Contributor III

I found a few posts asking about a regex for iOS 16, iPadOS 16, and tvOS 16 and figured I post this. I included iPhone15,[0-9], anticipating the next iPhone release this fall. Let me know if I missed something.

iPhone1[0-5],[0-9]
iPad((1[1-4])|[6-8]),[0-9]
AppleTV(11|[5-6]),[0-9]
(iPhone1[0-5],[0-9])|(iPad((1[1-4])|[6-8]),[0-9])|(AppleTV(11|[5-6]),[0-9])

Here's a link to the complete regex with all the iPhone, iPad, and Apple TV model identifiers.
https://regex101.com/r/4VsaTp

2 REPLIES 2

AtillaTheC
Contributor II

is there anyway you can point me to a resource on how to add in iPod's to this?

skeenan07
New Contributor III

There aren't any iPods that support iOS 16.

iOS 16 dropped support for a large number of older devices that were supported by iOS 13, iOS 14, and iOS 15, including the original iPhone SE, iPhone 6s and iPhone 6s Plus, iPhone 7 and iPhone 7 Plus, and the iPod touch.


https://www.macrumors.com/roundup/ios-16/#ios_16_supported_devices