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

前端 未结 10 1269
独厮守ぢ
独厮守ぢ 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:59

    I have figured out this issues in iPhone X. Launch image size (1125*2436px) Please flow this below steps. 1.i)Choose your project name in Xcode. ii)Select your project target iii)Then select Launch images source

    1. You can get Migrate popup i) Choose Assets ii)Select Migrate

    1. After that select your Assets.xcassets in your project

    2. Then select Launch image in assets i)Then select attribute inspector

    3. finally check your Launch image source. you can see set Launch image.

提交回复
热议问题