Skip to main content
nillc76025165
Participant
May 14, 2018
Answered

StageWebView has black border on iOS11 on iPhoneX.

  • May 14, 2018
  • 1 reply
  • 341 views

I have an Adobe Air app and it contains a full-screen StageWebView. I packaged the app with air22, everything works fine on the iPhone,A few days ago I switched to air29, and StageWebView is normal on the iPhone6(iOS11) but there are black bars(About 80 pixels high) on up and down sides of the iPhoneX(iOS11). I don't know what to do. Does anyone have such a problem?

Another problem is that iPhone6 has a resolution of 1334*750 and iPhoneX has a resolution of 2436*1125. When I get Stage.fullScreenWidth and Stage.fullScreenHeight in the code, they are both 1136 and 640. So, when I set the StageWebView's viewPort to new Rectangle(0, 0, stage.fullScreenWidth, stage.fullScreenHeight), I obviously felt the page was magnified. This was really bad. Is there a solution to this problem?

Thank you!

This topic has been closed for replies.
Correct answer nillc76025165

The problem is solved. This is because the application lacks the corresponding launch images.

1 reply

nillc76025165
nillc76025165AuthorCorrect answer
Participant
May 18, 2018

The problem is solved. This is because the application lacks the corresponding launch images.