How can I force full screen mode with SCNView on iOS?

228 Views Asked by At

If I am creating a SCNView its fullscreen on iPad simulator, but on iPhone its just a vertical centered frame. The width is correct, but the height is too small. I tried a lot, but nothing has an effect on the size of the SCNView.

What I tried:

  • SCNView.init(frame)
  • "Presentation" (Fullscreen) on Main.storyboard (Game View Controller)
  • different Content Modes (SceneKit View)

Any thoughts?

1

There are 1 best solutions below

0
On

I solve the problem, make sure that in Info.plist the "UILaunchStoryboardName" points to "LaunchScreen".