title: How to detect my iPhone app is being run on an iPad
body: <p>I have an opengl application that renders better in RetinaDisplay mode (double scale factor) and I noticed the iPad emulates an iPhone app with a low resolution screen (normal scale factor).</p>
  
  <p>I want to double the scale factor when my iPhone app is run on an iPad, in order to benefit from Retina Display graphics. But it seems the iPad really well fakes being an iPhone (which would be perfect if only it was a Retina Display one...)</p>
  
  <p>When I force the double scale, it works very well (at least in simulator, I do not have an iPad to test).</p>
  
  <p>So I need a way to know if I am run on an iPad despite many things telling me it to be an old iPhone.</p>
  
  <p>Or maybe I should not try to do that ?</p>