Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, if possible.
iPhone
iPod Touch
I like Erica Sadun's stuff. She includes AppleTV devices and others you might not think of.
https://github.com/erica/uidevice-extension/blob/master/UIDevice-Hardware.h