【问题标题】:Is there a way to prevent the toolbar from appearing on route changes? IOS IPAD有没有办法防止工具栏出现在路线更改上? IOS IPAD
【发布时间】:2020-03-15 14:18:49
【问题描述】:

我们有一个添加到 iPad 主屏幕的网络应用程序,以提供更“类似应用程序”的用户体验。在导致 UI 出现问题的最新 iPadOS 更新之前,它一直运行良好。现在,当用户导航时,会出现一个最小版本的 safari 工具栏 此后,我尝试通过添加带有 display":"fullscreen", 属性的 manifest.json 来解决此问题

{
  "name": "1WSQ",
  "short_name": "1WSQ",
  "description": "1WSQ APP",
  "display": "fullscreen",
  "start_url": "/?homescreen=1",
  "background_color": "#000000",
  "theme_color": "#0f4a73",
  "icons": [
    {
      "src": "touch-icon-ipad-retina.png",
      "sizes": "256x256",
      "type": "image/png"
    }
  ]
}

任何其他关于如何防止这种情况的想法将不胜感激。

【问题讨论】:

标签: ios reactjs ipad safari gulp


【解决方案1】:

试试"display": "standalone"manifest.json documentation

它在 iPadOS 13.3 上为我工作

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2011-02-28
  • 1970-01-01
  • 1970-01-01
  • 2021-11-28
  • 2019-02-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多