Phonegap Application fullscreen through a button in html page

一个人想着一个人 提交于 2020-01-25 23:48:12

问题


I have a phonegap application which starts as a normal application (not in full screen mode). I need to provide a user option to enable fullscreen in my html. How can I make my application to be in full screen on button click through javascript or Phonegap utils?


回答1:


You have to write a PhoneGap plugin that calls the native functionality to switch to full screen (e.g. like this for iOS).



来源:https://stackoverflow.com/questions/15757363/phonegap-application-fullscreen-through-a-button-in-html-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!