Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 gwt+mgwt 应用程序中更改强制屏幕的特定方向?假设我希望用户始终以横向模式使用该应用程序。
这取决于:是作为 phonegap 应用程序,而不是在浏览器内。
如果您作为 Web 应用程序运行,您不会t get any control on the orientation. The browser handles that for you. But if you作为具有 phonegap 的应用程序重新运行,您可以在应用程序内设置支持的方向(与每个本机应用程序相同)。对于 iOS,这将在您的应用程序的正常配置中。在 Android 上,这是在您的 android 清单文件中。
t get any control on the orientation. The browser handles that for you. But if you