gpt4 book ai didi

javascript - 是否可以在 iPhone 上隐藏 Safari 中的地址栏?

转载 作者:行者123 更新时间:2023-11-30 00:09:05 29 4
gpt4 key购买 nike

我看到这在 iOS7 中是不可能的,但现在有了 iOS9。是否可以用 javascript 隐藏地址栏?

我想为 iPhone 和 iPad 用户做这件事。

谢谢!

最佳答案

可以声明display mode在网络应用程序 list 中。

"display": "standalone"

The application will look and feel like a standalone application. This can include the application having a different window, its own icon in the application launcher, etc. In this mode, the user agent will exclude UI elements for controlling navigation, but can include other UI elements such as a status bar.

唯一的问题是用户必须先将您的网络应用程序添加到主屏幕。

关于javascript - 是否可以在 iPhone 上隐藏 Safari 中的地址栏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37262234/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com