Toaster icon indicating copy to clipboard operation
Toaster copied to clipboard

iOS 16 beta 2 - landscape mode wrong orientation

Open gregoirelemoulant opened this issue 3 years ago • 6 comments

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

gregoirelemoulant avatar Jun 23 '22 18:06 gregoirelemoulant

I had the same issue.

DarkKnightKazuma avatar Sep 02 '22 06:09 DarkKnightKazuma

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

BruceWayen66 avatar Sep 26 '22 08:09 BruceWayen66

I created a PR for it. Can someone test it, please? https://github.com/devxoul/Toaster/pull/215

kafejo avatar Sep 26 '22 10:09 kafejo

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!

zzpaf avatar Oct 19 '22 12:10 zzpaf

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

kafejo avatar Oct 20 '22 11:10 kafejo

me too.

huyabin avatar Mar 30 '23 09:03 huyabin