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

feat(ios): update the way to get keyWindow #3448

Merged
merged 2 commits into from
Dec 28, 2023
Merged

feat(ios): update the way to get keyWindow #3448

merged 2 commits into from
Dec 28, 2023

Conversation

KrzysztofMoch
Copy link
Member

@KrzysztofMoch KrzysztofMoch commented Dec 27, 2023

Summary

Part of #3425
Move keyWindow "getter" to utils in order to support visionOS and use newer API

Test plan

  • Tested in example app
  • CI passed

@KrzysztofMoch KrzysztofMoch mentioned this pull request Dec 27, 2023
16 tasks
let orientation = UIApplication.shared.statusBarOrientation
return orientation
if #available(iOS 13, tvOS 13, *) {
return RCTVideoUtils.getCurrentWindow()?.windowScene?.interfaceOrientation ?? .unknown
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I getter for that would be great!

@KrzysztofMoch KrzysztofMoch merged commit f35727f into TheWidlarzGroup:master Dec 28, 2023
6 checks passed
@KrzysztofMoch KrzysztofMoch deleted the feat/ui-screen-api branch December 28, 2023 11:58
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