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

orientationDidChange delay 1 step #78

Closed
LuongTruong opened this issue Jul 3, 2019 · 3 comments
Closed

orientationDidChange delay 1 step #78

LuongTruong opened this issue Jul 3, 2019 · 3 comments

Comments

@LuongTruong
Copy link

Hi @wonday , I just find out there is an interesting issue.

Issue:

orientationDidChange will be delayed in iPad if we set upside down to be true.

For example, we open the app on iPad in "portrait" and rotate it to "landscape", orientationDidChange won't fire. Later we rotate it to "portrait", orientationDidChange fires and return value "landscapeLeft/landscapeRight"

How to fix it:

Simply disable upside down for iPad and everything works like a charm

I create this for people who get the same issue like me. Can you please make a note in README.md

Thank you for the awesome lib 😄

@wonday
Copy link
Owner

wonday commented Jul 5, 2019

I had added it to README

@wonday wonday closed this as completed Jul 5, 2019
@daveyjones
Copy link

@wonday Do you know of any workarounds for this? I actually need the upside-down orientation. I'm building an app that communicates with card readers that attach via the lightning port. When swiping a credit card, the most convenient way to hold the iPad is upside down.

@msageryd
Copy link

msageryd commented Dec 8, 2020

I just migrated my app to RN 0.63 and a new XCode version. XCode wouldn't let me build the app if I wouldn't add support for upside-down. This was due to multitasking support on iPad, according to XCode.

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

4 participants