title: How to check if is iPhone 5 in iOS 7?
body: <p>I have iphone app in which I was till now successfully checking is iphone 5 with following code (in my Prefix.pch file):</p>
  
  <pre><code>#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) &lt; DBL_EPSILON )
  </code></pre>
  
  <p>Now when I run on my iPhone 5, I get this height in log: 480 ([[UIScreen mainScreen] bounds].size.height)</p>
  
  <p>I've updated my iPhone on iOS 7. Is there some other way to check if is iPhone 5 (or height of screen)?</p>
  
  <p>UPDATE:
  I have on my MAC OSX 10.8.5</p>
  
  <p><strong>UPDATE 2:</strong>
  I've figured it out that there is some bug in that project because when I create new project all examples code work.</p>