iPhone X shows black bezels

Hi,

I’m running my app in the Corona simulator with the iPhone X mask and it works great filling all the screen. However, when I test it in an actual iPhone X, it has black bezels on the top/bottom, not filling the entire screen. I’m using adaptive scaling. Is there anything specific I need to do to get the whole screen filled in the actual device?

Thanks,

I would suggest that you print out your screen dimensions and make sure your background is covering that area. It would also be useful to visually see what you’re talking about. Can you take a photo of or take a screenshot from your iPhone X and post it here?

Rob

Hi Rob,

Thanks for your assistance. This was caused by having static files instead of the new storyboard launch screen setup. Once I tried setting it up, the screen was filled fully. I guess the confusion was that when the storyboard launch screen was not set up, the Corona simulator was filling up the entire iPhone X screen, when it shouldn’t, as it does not reflect what it happens on an actual device when it’s not set up.

Thanks.

Our simulators are not device emulators. We can’t perfectly emulate all of the hardware requirements of the actual device or we wouldn’t have time to work on the parts of Corona that make it useful. It’s just a skin that reports the advertised sizes.

Rob

I would suggest that you print out your screen dimensions and make sure your background is covering that area. It would also be useful to visually see what you’re talking about. Can you take a photo of or take a screenshot from your iPhone X and post it here?

Rob

Hi Rob,

Thanks for your assistance. This was caused by having static files instead of the new storyboard launch screen setup. Once I tried setting it up, the screen was filled fully. I guess the confusion was that when the storyboard launch screen was not set up, the Corona simulator was filling up the entire iPhone X screen, when it shouldn’t, as it does not reflect what it happens on an actual device when it’s not set up.

Thanks.

Our simulators are not device emulators. We can’t perfectly emulate all of the hardware requirements of the actual device or we wouldn’t have time to work on the parts of Corona that make it useful. It’s just a skin that reports the advertised sizes.

Rob