Skip to content

Update iOS orientation handling for application orientation and orientation changes#186

Closed
bstadick wants to merge 3 commits into
Redth:mainfrom
bstadick:bugfix-40-ios-orientation
Closed

Update iOS orientation handling for application orientation and orientation changes#186
bstadick wants to merge 3 commits into
Redth:mainfrom
bstadick:bugfix-40-ios-orientation

Conversation

@bstadick

@bstadick bstadick commented May 8, 2024

Copy link
Copy Markdown
Contributor

Update iOS orientation to follow application orientation using the last key window. Falls back to no transformation if no key windows found.

Also observe device orientation changes and update layout subview when it changes. Remove the observer when the camera is disconnected.

This is an update to pull request #43 in response to issue #40.

Update ios orientation to follow application orientation and update when device orientation changes
@LorenzoLotti

Copy link
Copy Markdown

This should be merged and released via NuGet, it is fixing a major bug on iOS

@jfversluis

Copy link
Copy Markdown
Collaborator

Closing this stale PR as superseded by #310.

#310 implements the Apple preview-orientation fix from current main without the unrelated workflow changes, using active window-scene orientation with safe fallbacks and updated lifecycle handling.

Please try #310/the latest main and open a new focused issue if iOS/MacCatalyst preview orientation is still wrong in a current scenario.

@jfversluis jfversluis closed this Jun 17, 2026
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.

3 participants