Version of iphone

the following source shows allwasys iphone on all types of iphone devices

print(system.getInfo("model"))

is there any other function to identify the type of the iphone (3gs or 4 or 4s) ???

[import]uid: 96270 topic_id: 28913 reply_id: 328913[/import]

You could check the size of the screen, that would let you know if it was a 4 or up. [import]uid: 52491 topic_id: 28913 reply_id: 116543[/import]

Actually - try “architectureInfo” - that might actually do it. (I haven’t tried it with 4S.) [import]uid: 52491 topic_id: 28913 reply_id: 116544[/import]