Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

iPhone X shows black bezels
Started by bernalmurcia Dec 21 2017 09:24 PM

3 replies to this topic
iphone x

Best Answer bernalmurcia , 25 December 2017 - 10:42 PM

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.

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

bernalmurcia

[GLOBAL: userInfoPane.html]
bernalmurcia
  • Observer

  • 21 posts
  • Corona SDK

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,



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,793 posts
  • Enterprise

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



[TOPIC: post.html]
#3

bernalmurcia

[GLOBAL: userInfoPane.html]
bernalmurcia
  • Observer

  • 21 posts
  • Corona SDK

  Best Answer

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.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,793 posts
  • Enterprise

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




[topic_controls]
[/topic_controls]