Possible Duplicate:
Best way to programmatically detect iPad/iPhone hardware
I am preparing an app where in I want to use it on iPhone as well as iPad.
How to detect whether the current host device is iPhone or iPad?
Based on this I want to make changes to the User Interface