Cross-platform method for removing the address bar in a mobile web app

后端 未结 2 1200
醉酒成梦
醉酒成梦 2020-12-28 23:23

I am working on a mobile web app and am trying to remove the address bar. Its easy enough, unless the \'s natural height is not tall enough to allow

2条回答
  •  不思量自难忘°
    2020-12-28 23:28

    I think the way it works is the address bar is hidden when the page wouldn't fit. So you want a page exactly the height of the window including the address bar, i.e. window.outerHeight, no?

提交回复
热议问题