Telling the difference between Iphone and Ipad

Is there a way to check in code to see if you are using an iPad vs a iphone/Touch?


if(usingIpad) { Do Ipad specific stuff. } else if(usingIphone or usingItouch) { Do Itouch and Iphone stuff. }

(I looked through a bunch of documentation and I probably just missed it... :( Thanks again for the help )

There's this, which should tell you what the user is using.