I wonder if there is a way to distinguish between the first and second generation of the iPod touch. Docs say that:
iPhoneSettings.model
reports “iPhone” or “iPod Touch”. But is the string different for a 2nd gen Touch? Need a way to find out if the device has an accelerometer.
Ah, while writing these lines I could simply query them and if there is any movement, there must be a touch sensor. Well, surely one method, but an identifier would be cool too.
There is a difference in the identifiers for the first and second generation iPod Touch. The first gen is 1,1 while the second gen is 2,1 much like how they label the iPhone 2G vs 3G. The 2G is 1,1 and the 3G is 2,1. However, I do not know how to get this info from the device. However, all of the iPod Touch’s and iPhones have an accelerometer.