Xcode13 beta -> Xcode 12 issue

Hi, I wrote the app in Xcode 13 beta, and when I run the app with Xcode 12 (and it does not depend on the iOS version, just the Xcode version) I get black boxes like in screenshot number 2. Thanks in advance everyone for the help.

Screenshot 1 (iOS 15)

Screenshot 2 (iOS 14)

Accepted Reply

Thx for your attention. The problem was with the launch screen in the Project setting. When opening in Xcode 12 for some unknown reason Launch screen field was empty. And scene bound has been set up as 320 x 480. As soon I set the correct launch screen - the problem was solved

  • Launch screen ?. Do you mean initial VC screen or launch storyboard (I would not understand why launch storyboard has an impact here).

  • Launch storyboard. I also do not understand why so.

Add a Comment

Replies

it does not depend on the iOS version

Are you so sure ? What you show are swith iOS 15 and iOS 14. Could you test also with Xcode 13ß but simulator iOS14 ?

Those are not blackboxes, they are the view background which is black. And same issue with the other light gray at top.

Could you please show the complete code for the viewController as well as the screenshots of Attributes inspector for the view of the ViewController ? As this one:

  • Yeah. I sure. I use real devices for tests. I have already find the answer. Thx for your attention. The problem was with the launch screen in the Project setting. When opening in Xcode 12 for some unknown reason Launch screen field was empty. And scene bound has been set up as 320 x 480. As soon I set the correct launch screen - the problem was solved.

Add a Comment

Thx for your attention. The problem was with the launch screen in the Project setting. When opening in Xcode 12 for some unknown reason Launch screen field was empty. And scene bound has been set up as 320 x 480. As soon I set the correct launch screen - the problem was solved

  • Launch screen ?. Do you mean initial VC screen or launch storyboard (I would not understand why launch storyboard has an impact here).

  • Launch storyboard. I also do not understand why so.

Add a Comment