Detect iPad 1 vs iPad 2

Is there a way to determine the version number of the iPad one's app is running on? I was looking at e.g. system.getInfo('platformVersion') but didn't find the respective version value there. I'm asking 'cause I had just tried to add more graphical effects when on the iPad 2 versus the iPad 1 (I probably won't go ahead with that but I'm still curious :) ).

Did you try system.getInfo("architectureInfo")

I don't have both iPads to test with but they might return different values for each device.

views:1789 update:2011/9/26 15:43:22
corona forums © 2003-2011