Scene not showing full screen on iPhone

I have a sample app and the screen does not show full screen on iPhone but it does on iPad. Running Swift SpriteKit in Xcode 12.5.

Steps to repro:

  1. Open Xcode and create new project
  2. Choose Game
  3. Run the sample game with no changes
  4. Hello, World! is displayed but on the iPhone the scene is not extending to the top and bottom of the phone screen.

Any help would be amazing! Thanks!

Answered by OOPer in 677097022

Have you added Launch Screen to your project?

Accepted Answer

Have you added Launch Screen to your project?

Scene not showing full screen on iPhone
 
 
Q