iPhone 5 incorrectly reporting size

Hey all,

I’ve finally managed to get around to doing a build for iPhone 5 and its not correctly detecting the size of the phone. I’m using the ultimate config file, which doesn’t seem to be the problem. The problem is that a native.showAlert(“Size”, display.pixelHeight … ", " … display.contentHeight) tells me 960, 480 when I’m using the iphone 5, and leaves black bars at the top and bottom of the screen. I can’t really use either of the zooms for scale.

Anyone run into this before? I’m wondering why the phone / engine believes that that pixel height is 960.

Cheers,

Mourdos

Check this comment, might solve it: http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/#comment-23625

Cheers jonjonsson. Added Default-586h@2x.png to my resource folder and it all worked. Thanks.

Check this comment, might solve it: http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/#comment-23625

Cheers jonjonsson. Added Default-586h@2x.png to my resource folder and it all worked. Thanks.