Open jgold6 opened 4 years ago
@jgold6 Thanks for surfacing this bug!
I was able to reproduce it in VSMac following your steps.
I made an application in Xcode and launched w/ and w/o support for multiple windows. For both, the application successfully launched.
Marking as a bug
since it's specific to our code and not an Apple bug.
Steps to Reproduce
Expected Behavior
Will see the same start screen
Actual Behavior
Black screen is shown
Notes
The issue is that when that options is selected, the UIApplicationSceneManifest entry is added to the info.plist and the UIApplicationSupportsMultipleScenes key is set to true, but there is no UISceneConfigurations added so the storyboard is not getting set.
To resolve this, the developer will have to follow this guide: https://docs.microsoft.com/en-us/xamarin/ios/platform/ios13/multi-window-ipad
I am not sure what can be done about this, as in order to resolve this issue when the "Supports Multiple Windows" option is selected the IDE would also have to add SceneDelegate class and the other necessary keys to the Info.plist as per the above linked document.
Maybe there should be an Info button next to the option pointing the developer to the above document and letting them know they need to create the SceneDelegate class and add the UISceneConfigurations key with a configuration that sets the storyboard for the scene?
SO this is not a bug, per se, but a request to improve the developer experience when adding support for Multiple Windows to their existing app.
Environment
iOS 13
Build Logs
n/a/
Example Project (If Possible)
n/a (see steps to reproduce)