Skip to content

iOS: Fixes for UIScene based projects#71

Merged
taljacobson merged 1 commit into
taljacobson:masterfrom
mentz-sk:fb/uiscene-adoption
Apr 22, 2026
Merged

iOS: Fixes for UIScene based projects#71
taljacobson merged 1 commit into
taljacobson:masterfrom
mentz-sk:fb/uiscene-adoption

Conversation

@mentz-sk

@mentz-sk mentz-sk commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

[UIApplication sharedApplication].keyWindow.rootViewController returns null on UIScene based projects.
This PR changes the lookup to scan for UIScenes first with a fallback to [UIApplication sharedApplication].keyWindow.rootViewController

Probably fixes #69, #68

@github-actions github-actions Bot added the IOS label Apr 22, 2026
@taljacobson

Copy link
Copy Markdown
Owner

Looks good to me,

But since I don't have the ability to test it, I will have to trust that it actually works.
It might take awhile for me to publish it as a new version to pub.dev.
But you can refrence it in the yaml file by git refrence

@taljacobson taljacobson merged commit 7a7522c into taljacobson:master Apr 22, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tried with iOS 26 and it didn't worked

2 participants