Suppresses screen rotation on specific screens

Asked 2 years ago, Updated 2 years ago, 101 views

I would like to suppress the rotation of the screen only on a certain screen, but is that possible?
If anyone knows, could you please let me know?

monaca

2022-09-30 19:53

1 Answers

The following plug-ins were found:
https://github.com/yoik/cordova-yoik-screenorientation
https://github.com/cogitor/PhoneGap-OrientationLock

There is a very similar question here, and it seems that it is implemented by forcing the content to spin using CSS.
https://stackoverflow.com/questions/23286177/cordova-ios-change-screen-orientation-to-landscape-on-a-single-page


2022-09-30 19:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.