title: How can I determine programmatically that my app is running on an iPhone, iPad or iPhone 4?
body: <p>I just finish my iPhone game using cocos2d. But before I put it on the AppStore, I'd like to make it work on iPad (which have a bigger screen) and iPhone 4 (which have a bigger resolution).<br>
  So, how can I determine programmatically that my app is running on an iPhone, iPad or iPhone 4, to be able to use the correct coordinates / images in my game?  </p>
  
  <p>Thanks for your help! </p>