is it possible to get the precise device model.. not just "iPhone" but "iPhone 6 plus" ?

I see that system.getInfo( “model” ) gives me iPhone… iPad etc.  But what if i want to know which version of the iPhone it is?  Is there any way to get that information?

Hi @tameem50,

You can use “system.getInfo( “architectureInfo” )” to gain further insight, but it’s still going to be tricky to determine an exact device, mostly because what that returns is often a strange string based on manufacturer details (it’s not something that Corona can control).

This page seems to be one of the few resources which outlines the Apple architecture returns, so that might help you:

https://www.innerfence.com/howto/apple-ios-devices-dates-versions-instruction-sets

Take care,

Brent

very helpful.  architecture info allowed us to differentiate between iphones.  note: you can only tell the difference on an actual device though. not the simulator

Hi @tameem50,

You can use “system.getInfo( “architectureInfo” )” to gain further insight, but it’s still going to be tricky to determine an exact device, mostly because what that returns is often a strange string based on manufacturer details (it’s not something that Corona can control).

This page seems to be one of the few resources which outlines the Apple architecture returns, so that might help you:

https://www.innerfence.com/howto/apple-ios-devices-dates-versions-instruction-sets

Take care,

Brent

very helpful.  architecture info allowed us to differentiate between iphones.  note: you can only tell the difference on an actual device though. not the simulator