title: iPhone 5: Want to find out Screen size for iPhone 5
body: <p>I am wondering how i can detect using the screen size is iPhone 5. My application at the moment using 3.5 inch interface on a iPhone 5 so when I used the code</p>
  
  <blockquote>
    <p>CGSize result = [[UIScreen mainScreen] bounds].size;</p>
  </blockquote>
  
  <p>This gave me 400 instead of 568 height of the screen size. Is that because I am using 3.5 inch  interface on a iPhone 5. I know i need to change the layout of the application but due to our time constraint I wanted to keep it that way.</p>
  
  <p>Or Do I need to get the scale factor to get the real pixel</p>
  
  <blockquote>
    <p>CGFloat screenScale = [[UIScreen mainScreen] scale];</p>
  </blockquote>
  
  <p>Please help...</p>