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 😄
Hi @wonday , I just find out there is an interesting issue.
Issue:
orientationDidChangewill be delayed in iPad if we setupside downto be true.For example, we open the app on iPad in "portrait" and rotate it to "landscape",
orientationDidChangewon't fire. Later we rotate it to "portrait",orientationDidChangefires and return value "landscapeLeft/landscapeRight"How to fix it:
Simply disable
upside downfor iPad and everything works like a charmI 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 😄