Seeing black bars at the top and bottom of the iPhone X Simulator

前端 未结 10 1301
独厮守ぢ
独厮守ぢ 2020-11-22 14:32

Running my App in the iPhone X Simulator (GM Seed) I am noticing two strange effects:

  • the App does not use the full screen space (top and bottom area is black)
10条回答
  •  青春惊慌失措
    2020-11-22 14:50

    Just ran into this while trying to update an app I hadn't worked on in a while.

    On Xcode 9.4, I was able to fix this by doing the following:

    1. Add a launch screen by going to File -> New -> File... -> Launch Screen

    1. Make sure the newly added launch screen storyboard is selected as the launch screen file under project settings.

提交回复
热议问题