title: iPad Pro device detection
body: <p>I am trying to detect iPad Pro device , trying to guess its height with :</p>
  
  <pre><code>NSLog(@"%f",self.view.frame.size.height);
  </code></pre>
  
  <p>But it returns <code>1024</code> ! same as iPad non retina devices . any advice ?</p>
  
  <p>I need to specify some codes exact for iPad Pro with this line of code : </p>
  
  <pre><code>#define iPadPro ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad &amp;&amp; [UIScreen mainScreen].bounds.size.height == 2732)
  </code></pre>
  
  <p>...and the codes must detect iPad Pro even on iOS simulator !</p>
  
  <p>Thanks</p>
  
  <p>EDITED :
  Some suggest use LunchScreen , but when I use it this happens (scaled down) :
  <a href="https://i.stack.imgur.com/vNHf4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vNHf4.png" alt="enter image description here"></a></p>