We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i use OrientationPlugin.setPreferredOrientations([DeviceOrientation.portraitUp]) OrientationPlugin.forceOrientation(DeviceOrientation.portraitUp);
but not lock the screen orientation, How to solve it?thanks。
The text was updated successfully, but these errors were encountered:
Hi @inprise1980
OrientationPlugin.setPreferredOrientations([DeviceOrientation.portraitUp]); OrientationPlugin.forceOrientation(DeviceOrientation.portraitUp);
The code works for me in iphone.
May not work on iPad, please refer to the documentation of Limitations section.
Limitations
Sorry, something went wrong.
is it any solution about this bug?
@FeifanChang
Sososdk's reply is correct. Just follow the documentation
No branches or pull requests
i use
OrientationPlugin.setPreferredOrientations([DeviceOrientation.portraitUp])
OrientationPlugin.forceOrientation(DeviceOrientation.portraitUp);
but not lock the screen orientation,
How to solve it?thanks。
The text was updated successfully, but these errors were encountered: