-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 13+ always uses the scenes if there is one registered in the manifest #3454
Conversation
Should we generate a partial info plist with the scene entries for MacCatalyst? I guess that won't work for iPad since that's still iOS tfm. Maybe we could do so off a project property? At the very least this PR should remove the entry from iOS info plist in the template? |
There is nothing wrong with using scenes on iOS. In fact, it is "recommended"?
However, it is also an opt-in feature:
https://developer.apple.com/documentation/uikit/app_and_environment/managing_your_app_s_life_cycle I have updated the PR to do this logic even more correctly and now we can support either scenario. |
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
Description of Change
This PR fixes the issue of a secret double init of the main window on iOS 13+ on iPhone. Even though the iPhone does not support multi-window, it still uses the scene delegates and will just throw internally.
Additions made