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)

Answered by goodwin1911 in 684033022

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

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:

Accepted 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

Xcode13 beta -> Xcode 12 issue
 
 
Q