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
if([UIDevice currentDevice].userInterfaceIdiom==UIUserInterfaceIdiomPad) { //Device is ipad }else{ //Device is iphone }