Is there a way to determine the device running an application. I want to distinguish between iPhone
and iPod Touch
, if possible.
Please feel free to use this class (gist @ github)
CODE REMOVED AND RELOCATED TO
https://gist.github.com/1323251
UPDATE (01/14/11)
Obviously, this code is a bit out of date by now, but it can certainly be updated using the code on this thread provided by Brian Robbins
which includes similar code with updated models. Thanks for the support on this thread.