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.
我有一个 phonegap 应用程序,它作为普通应用程序启动(不是全屏模式)。我需要提供一个用户选项来在我的 html 中启用全屏。如何通过 javascript 或 Phonegap utils 使我的应用程序在按钮单击时全屏显示?
您必须编写一个调用本机功能以切换到全屏的 PhoneGap插件(例如,对于 iOS来说就是这样)。