iPhone 16, Plus, Pro and Pro Max device identifiers/codes?

In my app I need to determine what hardware the app is running on (also forms part of the UI).

iPhone 15 series identifiers are as below, wondering if anyone knows what iPhone 16, Plus, Pro and Pro Max will be?

case "iPhone15,4": return "iPhone 15"

case "iPhone15,5": return "iPhone 15 Plus"

case "iPhone16,1": return "iPhone 15 Pro"

case "iPhone16,2": return "iPhone 15 Pro Max"

I assume since all four 16 models are A18 that it'll be a bump to the base level to 17 for all four phones.

case "iPhone17,1": return "iPhone 16"

case "iPhone17,2": return "iPhone 16 Plus"

case "iPhone17,3": return "iPhone 16 Pro"

case "iPhone17,4": return "iPhone 16 Pro Max"

Anyone else making a different assumption? Trying to avoid the "if unknown just say iPhone 16" option.

Thanks!

Answered by Claude31 in 803120022

That seems a reasonable assumption, but just assumption.

I wait for the list to be updated here: https://gist.github.com/adamawolf/3048717

Here is what they say, which is slightly different from you:

"iPhone17,3": .iPhone16,
"iPhone17,4": .iPhone16Plus,
"iPhone17,1": .iPhone16Pro,
"iPhone17,2": .iPhone16ProMax,
Accepted Answer

That seems a reasonable assumption, but just assumption.

I wait for the list to be updated here: https://gist.github.com/adamawolf/3048717

Here is what they say, which is slightly different from you:

"iPhone17,3": .iPhone16,
"iPhone17,4": .iPhone16Plus,
"iPhone17,1": .iPhone16Pro,
"iPhone17,2": .iPhone16ProMax,

Hello @Colin_newbie,

In my app I need to determine what hardware the app is running on (also forms part of the UI).

What feature in your app needs to know the exact device it is running on? There are typically better approaches to handling device adaptivity.

Best regards,

Greg

iPhone 16, Plus, Pro and Pro Max device identifiers/codes?
 
 
Q