# 功能请求：教 iOS 用户 A2HS/推送

**URL:** https://meta.discourse.org/t/feature-request-teach-ios-users-to-a2hs-push/255536
**Category:** Feature
**Created:** [2023年二月18日 03:40 UTC](https://meta.discourse.org/t/feature-request-teach-ios-users-to-a2hs-push/255536 "2023-02-18T03:40:22Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2023年三月27日 23:09 UTC](https://meta.discourse.org/t/feature-request-teach-ios-users-to-a2hs-push/255536/5 "2023-03-27T23:09:43Z")

</div>

> [@sam](#):
>
> iOS 能检测到它是否处于 PWA 模式吗？

可以，并且我们已经在 sniff-caps 中有相应的方法了。

> [@sam](#):
>
> “提醒用户安装 PWA” 的机制是什么？（等待多久？多久打扰一次？例如，您是否要求用户达到 TL1？）

Android 上已经有一个触发 TL1+ 的横幅。

> [@Making it easier to install Discourse as a PWA](https://meta.discourse.org/t/making-it-easier-to-install-discourse-as-a-pwa/158034/9?u=falco):
>
> What is a “install setting” ? Discourse does this out of the box. If a user meets both Chrome criteria and is TL1+. [[image] ](https://global.discourse-cdn.com/meta/original/3X/1/c/1cf913d9e9e6351dcf2b35d05d0c642b0dd7c1d2.png) This is tweaked to only occur on mobile, as it would be a bit annoying on Desktop. At least until Chrome launches tabbed mode for PWAs in Desktop.

点击“否”会持久化到本地存储。

这里的主要问题是苹果是被迫参与的，所以点击安装不会触发安装，但我们所能做的就是显示一个带有教程的模态框，说明它是如何工作的。对于模态框的外观，社区还没有达成共识。

---

_[View the full topic](https://meta.discourse.org/t/feature-request-teach-ios-users-to-a2hs-push/255536)._
