display.pixelHeight is still 960 in iOS simulator - iPhone5

Hi,

I have used Default-568h@2x.png and everything worked well in Corona simulator, display.pixelHeight was 1136 when I chose iPhone 5 as device.

When I built my app to iOS simulator - iPhone 5, display.pixelHeight was 960 instead of 1136, so I failed to optimize content area for iPhone 5. But display.pixelHeight was 1334 in iOS simulator - iPhone 6, as it should be.

I am not sure whether real devices have this problem or not, because I don’t have iPhone 5 on hand. I want to know whether this is a bug or not.

Thanks.

iOS 7 devices should recognize the file, but iOS 8 requires something additional.  See these two blog posts:

http://coronalabs.com/blog/2014/10/07/tutorial-working-with-the-new-iphones/

http://coronalabs.com/blog/2014/10/21/tutorial-building-multi-screen-launch-images-using-xcode-6/

Rob

iOS 7 devices should recognize the file, but iOS 8 requires something additional.  See these two blog posts:

http://coronalabs.com/blog/2014/10/07/tutorial-working-with-the-new-iphones/

http://coronalabs.com/blog/2014/10/21/tutorial-building-multi-screen-launch-images-using-xcode-6/

Rob