Xccode 12 game Fullscreen

hi,
when i create a game with xcode 12 i have black bars on top and bottom on the phone or in the simulator,  scene.scaleMode = .aspectFill doesn't seem to work.

if you do the same in Xcode 11 then it works in full screen without problems.

is that a mistake or are there new settings for it.

if I start the project created with xcode 11 in xcode 12 then it is also in fullscrenn


Replies

Me too! This is sooo frustrating!
Select your project and under General->App icons and launch images->Launch Screen File = Main
Post not yet marked as solved Up vote reply of dr0n Down vote reply of dr0n
  • This worked for me.

  • works for me as well. Thank you :)

  • Thank you so much! This problem was also preventing the status bar from hiding on my app. I guess if your app doesn't have a launch screen, the iOS runtime assumes it's written for an iPhone 4 or something.

    You might want to create a separate storyboard for your launch screen, though. You can set the view to all black to begin with, and add a logo or other stuff later.

Add a Comment
Me 3 any answer?
Thanks to dr0n, your suggestion helped to solve this issue
Thanks dr0n solved my problem
Thanks dr0n!
Same problem! Selecting your project and under General->App icons and launch images->Launch Screen File = Main worked for me!