title: Screen width and height
body: <p>I want to get the width and height of the screen, with this code ...</p>
  
  <pre><code>float screenWidth = [UIScreen mainScreen].bounds.size.width;
  float screenHeight = [UIScreen mainScreen].bounds.size.height;
  NSLog(@"%f %f",screenWidth, screenHeight);
  </code></pre>
  
  <p>I get always 320 480 , but these aren't the true measures of the simulator. Now I'm testing on  a retina simulator with more resolution, but i always get 320 480  </p>