"architectureInfo" string for newer iOS devices

Hi all,

I am having some difficulty locating documentation on what the system.getInfo(“architectureInfo”) for some of the newer iOS devices are labeled. The documentation located here http://developer.anscamobile.com/reference/index/systemgetinfo only goes up to iPhone 3GS and iPod 2G.

Specifically I am looking for labels for iPhone 4 and 4S as well as the 3rd and 4th Gen iPod touch.

Thanks for any help the community can provide!

-Clark

[import]uid: 5786 topic_id: 23870 reply_id: 323870[/import]

I believe;

iPhone4 = “iPhone3,1”
iPhone4S = “iPhone4,1”

And latest two iPods (retina) are “iPod4,1” and “iPod4”, respectively.

Not 100% certain on the last two but I believe that is correct, the 4 and 4S I had to grab info on recently so took this info from that project.

Peach :slight_smile: [import]uid: 52491 topic_id: 23870 reply_id: 96251[/import]

I was just looking for that information myself and found a list at:
http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk
You’ll need to scroll down a bit to see the list.
[import]uid: 29384 topic_id: 23870 reply_id: 96451[/import]

Thanks Peach!

I noticed in the description this API is “subject to change in the future”…do you think there is any risk of current labels being changed?

I am going to use this API to selectively set the FPS down to 30 for older devices like the 3GS and 3rd Gen iPod, as I have experienced severe accelerometer lag with 60 FPS on my 3GS. (PS I have minimum OS version of 4.3 in my build settings so I don’t have to worry about devices before the 3GS)

Any better way to handle this then using the architectureInfo API?

Thanks again,

-Clark [import]uid: 5786 topic_id: 23870 reply_id: 96452[/import]

Thanks ec2! [import]uid: 5786 topic_id: 23870 reply_id: 96454[/import]

I haven’t played with this kind of thing a lot and yes, it is subject to change - but in your situation I’d be doing the same thing.

That’s more an opinion post than anything truly useful but didn’t want to ignore the question :wink: [import]uid: 52491 topic_id: 23870 reply_id: 96501[/import]