System.getInfo("model") returned values for new devices with new 64-bit A7 processor,

Hi  B)

in the tutorial “the Ultimate “config.lua” File”

Rob uses these “IF” statements :

if ( string.sub( system.getInfo("model"), 1, 4 ) == "iPad" ) then ... elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" and display.pixelHeight \> 960 ) then ... elseif ( string.sub( system.getInfo("model"), 1, 2 ) == "iP" ) then ...

Corona Simulator doesn’t make any difference 

  • between iPhone 5, 5c and 5s

  • between several iPad Retina models (Mini, Air etc.)

Does Apple make a difference?

with the new iPad Air Retina, iPad 4 Retina, iPhone 5C and iPhone 5s,

and all the new devices with new 64-bit A7 processor,

What are the returned values for the statements above?

Thank you for your answer!

Best

Olivier

Hi Olivier,

I don’t have the iPhone5 S, but I tested on the iPad Air. The value returned for “model” are the same as before (“iPad”). The value returned for “architecture” is likewise the same as previous iPads (“iPad4,1”).

So, I can’t say with 100% authority, but the values returned seem to be the same as the previous generation.

Brent

Thank you Brent

Olivier

Hi Olivier,

I don’t have the iPhone5 S, but I tested on the iPad Air. The value returned for “model” are the same as before (“iPad”). The value returned for “architecture” is likewise the same as previous iPads (“iPad4,1”).

So, I can’t say with 100% authority, but the values returned seem to be the same as the previous generation.

Brent

Thank you Brent

Olivier