I am testing my application on iPhone 5 and its reporting screen height as 480 on the iPhone 5. In iPhone 5 simulator I get correct height i.e. 568, but the same code is reporting 480 on hardware. I am using following code to get the screen height.
[UIScreen mainScreen].bounds.size.height]
What could be the reason?
Thanks