Group Group Group Group Group Group Group Group Group

How to get rid of black areas in spritekit app?

I have started development of and ios app in spritekit. And I wonder, how can I get rid of those black areas?

And make my green scene fully cover display(on all devices: ipads and iphones)

The iOS SpriteKit project template has a bug. It is missing a launch screen storyboard. Without a launch screen storyboard, the scene’s size is 320 by 480 pixels, which is not large enough to fill the scene.

The easiest way to fix this is to choose a launch screen file for the app target.

  1. Select the project from the project navigator on the left side of the project window to open the project editor.
  2. Select the app target from the target list in the project editor.
  3. Click the General button at the top of the project editor.
  4. Choose Main from the Launch Screen File combo box in the App Icons and Launch Images section.

Another alternative is to choose a multiplatform game project. The multiplatform game project template includes the launch screen storyboard.

More detailed information can be found in the following article:

Make Background Fill Entire SpriteKit Scene