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 16 beta 2 - landscape mode wrong orientation #214

Open
gregoirelemoulant opened this issue Jun 23, 2022 · 6 comments
Open

iOS 16 beta 2 - landscape mode wrong orientation #214

gregoirelemoulant opened this issue Jun 23, 2022 · 6 comments

Comments

@gregoirelemoulant
Copy link

My app is in landscape only, but the toast is shown on portrait (it worked well on iOS 15)

@DarkKnightKazuma
Copy link

I had the same issue.

@BruceWayen66
Copy link

I've come up with the same issue, Has anyone of you fixed it ?

@kafejo
Copy link

kafejo commented Sep 26, 2022

I created a PR for it. Can someone test it, please? #215

@zzpaf
Copy link

zzpaf commented Oct 19, 2022

I created a PR for it. Can someone test it, please? #215

I can confirm that the solution works:

Change line 186 in ToastWindow.swift:
From:
if self.shouldRotateManually {
To:
if #unavailable(iOS 16.0), self.shouldRotateManually {

Thanks for the update!

@kafejo
Copy link

kafejo commented Oct 20, 2022

Actually this library breaks the device orientation when we try to force one controller to landscape.

@huyabin
Copy link

huyabin commented Mar 30, 2023

me too.

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

No branches or pull requests

6 participants