iPhone 5: App doesn't use the full screen

I build some apps using zoomStretch & my app doesn’t use the full screen. I see black unused bars on the screen.

On the Corona simulator, this shows up correctly.

I tried using the ultimate config.lua file: http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/ with zoomStretch but the problem still occurs.

Has anyone else had this issue? Any help much appreciated.

Hi @svaradha,

This is a common issue and easy solution. You just need to add an Apple-required “tall” launch image to your project directory to trigger the entire screen on the iPhone5. See the following guide under “Launch Images”:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

Regards,

Brent

I had this issue today. This comment helped me: http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/#comment-9003

I think it would be good to have that point more prominent in the blog post. But basically you need to have that Default-568h@2x.png in your app. Can use the one I made today: https://dl.dropboxusercontent.com/u/45955/Default-568h%402x.png

Thanks guys. Appreciate this a lot. I’ll try this.

Hi @svaradha,

This is a common issue and easy solution. You just need to add an Apple-required “tall” launch image to your project directory to trigger the entire screen on the iPhone5. See the following guide under “Launch Images”:

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

Regards,

Brent

I had this issue today. This comment helped me: http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/#comment-9003

I think it would be good to have that point more prominent in the blog post. But basically you need to have that Default-568h@2x.png in your app. Can use the one I made today: https://dl.dropboxusercontent.com/u/45955/Default-568h%402x.png

Thanks guys. Appreciate this a lot. I’ll try this.

Helpful! thanks

Helpful! thanks

Thank you. For iPhone5, you simply need an image with the name containing -568h similar to what jonjonsson mentioned. You don’t need the ultimate config.lua file.

Thank you. For iPhone5, you simply need an image with the name containing -568h similar to what jonjonsson mentioned. You don’t need the ultimate config.lua file.

This was really helpful. For a moment I thought I was crazy and couldn’t figure out what I was missing.

This was really helpful. For a moment I thought I was crazy and couldn’t figure out what I was missing.

Sorry to bring that old post back, but even with your tips I can’t make my app runs in full screen on my phone. Where I need to put that image with the name -568h? I just need a blank image? This is driving me crazy! Thanks!!!

Hi @miguel.leonardoferreira,

You should place that image in your root project directory. Yes, it can be blank (solid black or whatever).

Of course, this will not necessarily ensure that your game runs in “full screen”. Do you understand the very essential concept of the Corona “content area”? This is a topic which you should learn about and fully understand before moving forward:

https://docs.coronalabs.com/guide/basics/configSettings/index.html

http://youtu.be/RwVlzJtQWd8

Take care,

Brent

Got the error here! My file has the wrong name! It was Default-568h@2x.png.png. Provably wen I used expor in PS. I just rename it and now it’s fine! Thanks! 

Sorry to bring that old post back, but even with your tips I can’t make my app runs in full screen on my phone. Where I need to put that image with the name -568h? I just need a blank image? This is driving me crazy! Thanks!!!

Hi @miguel.leonardoferreira,

You should place that image in your root project directory. Yes, it can be blank (solid black or whatever).

Of course, this will not necessarily ensure that your game runs in “full screen”. Do you understand the very essential concept of the Corona “content area”? This is a topic which you should learn about and fully understand before moving forward:

https://docs.coronalabs.com/guide/basics/configSettings/index.html

http://youtu.be/RwVlzJtQWd8

Take care,

Brent

Got the error here! My file has the wrong name! It was Default-568h@2x.png.png. Provably wen I used expor in PS. I just rename it and now it’s fine! Thanks!