Skip to content
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: Add SceneDelegate handling to fix ACQUIRE_ROOT_VIEW_CONTROLLER_FAILED #128

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Will5
Copy link

@Will5 Will5 commented Sep 9, 2024

This is a follow-up from LinusU#145.

I encountered this error again, and, after some research, I found that "As of iOS 13, UIApplication.shared.delegate?.window has been deprecated. Instead, you should use the SceneDelegate to get the root view controller. If you're targeting iOS 13 and later, you should update your code to handle this.". This attempts to address that (still testing)

@Will5
Copy link
Author

Will5 commented Sep 9, 2024

This did not work yet 🙁

@ThexXTURBOXx
Copy link
Owner

Feel free to experiment a bit - I will merge this when it's working!

@ThexXTURBOXx ThexXTURBOXx marked this pull request as draft September 20, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants