# Discourse 现在作为 iOS 的 PWA 运作

**URL:** <https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346>\
**Category:** Announcements\
**Tags:** pwa, new-feature\
**Created:** [2020年三月31日 22:03 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346 "2020-03-31T22:03:09Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)\
**Post date:** [2024年二月15日 23:39 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/21 "2024-02-15T23:39:12Z")

</div>

现在是官方的：

> **[Update on apps distributed in the European Union - Support - Apple Developer](https://developer.apple.com/support/dma-and-apps-in-the-eu)**
>
> Apple is sharing changes to iOS, Safari, and the App Store impacting developers’ apps in the European Union (EU) to comply with the Digital Markets Act (DMA). These changes create new options for developers.

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年二月16日 00:08 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/22 "2024-02-16T00:08:02Z")

</div>

这非常棒。这样一来，#Customization > Theme component 是不是就多余/过时了？

> [@添加到主屏幕（iOS，iPadOS）](https://meta.discourse.org/t/ios-add-to-homescreen-popup/266897):
>
> ||| |-|-|-| | discourse2 | 摘要 | 添加到主屏幕 (iOS, iPadOS) 会为 iOS 设备上的用户添加一个弹出窗口。此弹出窗口可关闭，如果您通过 PWA 查看 Discourse 论坛，则不会显示。 | hammer_and_wrench|存储库| [GitHub - discourse/discourse-apple-add-to-homescreen](https://github.com/discourse/discourse-apple-add-to-homescreen) | | open_book|初次使用 Discourse 主题？| [初学者指南：使用 Discourse 主题](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) 安装此主题组件 功能 此组件为 iOS 设备上的用户添加了一个弹出窗口。此弹出窗口可关闭，如果您通过 PWA 查看 Discourse 论坛，则不会显示。 iPhone iPad 设置 名称 描述 popup timer 弹出窗口应等待多长时间后出现？（以毫秒为单位） 翻译 默认 pwa\_text 在您的 iOS 设备上安装【b】%{siteTitle}【/b】。点击分享，然后点击【b…

是否已冗余/过时？

---

<div class="post-metadata">

**Author:** ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)\
**Post date:** [2024年二月16日 02:14 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/23 "2024-02-16T02:14:02Z")

</div>

如果我理解正确的话，这有助于用户认识到 PWA 功能的存在，因此可能不是多余的。

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年二月18日 05:56 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/24 "2024-02-18T05:56:00Z")

</div>

> **[Apple makes it official: No Home Screen web apps in the EU](https://www.theregister.com/2024/02/16/apple_web_apps/)**
>
> iBiz expresses regret for the impact of its entirely avoidable decision

看起来欧盟地区的 iOS 手机和平板电脑没有 PWA。

---

<div class="post-metadata">

**Author:** ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)\
**Post date:** [2024年二月18日 09:27 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/25 "2024-02-18T09:27:09Z")

</div>

另一方面，苹果公司开放了在应用程序中安装替代浏览器引擎的选项……理论上是这样：他们围绕该选项建立了一个巨大的官僚壁垒。苹果总部的某个人一定想：“让我们让欧盟尝尝他们自己的药。”

> **[Using alternative browser engines in the European Union - Support - Apple...](https://developer.apple.com/support/alternative-browser-engines/)**
>
> iOS 17.4 introduces new capabilities that let iOS apps use alternative browser engines — browser engines other than WebKit — for dedicated browser apps and apps providing in-app browsing experiences in the EU.

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2024年二月18日 09:43 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/26 "2024-02-18T09:43:20Z")

</div>

苹果公司在开放标准方面不可信。这非常令人难过。

（一位曾经忠诚的苹果用户，现在正在使用 Pixel 手机打字。）

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年二月18日 09:48 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/27 "2024-02-18T09:48:07Z")

</div>

确实如此。我从 Lg g8thinq 换成了 Google Pixel 8。  
最终想试试 GrapheneOS，好像是这么叫的；只适用于 Pixel。它可以移除手机上的谷歌服务。它有一个沙盒化的 Google Play。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2024年二月18日 09:50 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/28 "2024-02-18T09:50:29Z")

</div>

是的，这很有趣！

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年二月18日 09:51 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/29 "2024-02-18T09:51:36Z")

</div>

这是一个链接

> **[GrapheneOS: the private and secure mobile OS](https://grapheneos.org/)**
>
> GrapheneOS is a security and privacy focused mobile OS with Android app compatibility.

话题结束。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2024年二月18日 09:56 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/30 "2024-02-18T09:56:54Z")

</div>

这确实是可耻的（如果属实），引自你们的链接：

### 谎言

Epic Games 的首席执行官 Tim Sweeney，Epic Games 在法庭上挑战了苹果公司基于平台的自我偏好，但只取得了有限的成功，他谴责了这家“iGiant”的决定。

“苹果公司又一次虚伪地遵守规定并撒谎，这次是虚假地声称 Safari 是唯一值得信赖的网络浏览器——目的是扼杀网络应用，而他们在 Epic诉苹果案中曾吹捧网络应用是原生应用的可行替代品，”他发帖说。“可耻的是，这家曾经伟大、如今却大为衰落的公司。”

从事 PWA（渐进式网络应用）工作的网络开发者 Maximiliano Firtman 补充道：“文件中公布的该决定的技术原因很幼稚，而且包含许多谎言。”

---

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2024年二月18日 10:12 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/31 "2024-02-18T10:12:22Z")

</div>

这让我想起微软在 Win95 中做的一些事情，让 Netscape 等第三方浏览器表现不佳，还搞砸了 Java 支持。

我记得微软在那场战斗中失败了，许多网站将 Java 代码指向下载 Netscape 的链接，并关闭 IE。

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2024年二月18日 21:43 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/32 "2024-02-18T21:43:39Z")

</div>

> [@Heliosurge](#):
>
> 看起来欧盟的 iOS 手机和平板电脑没有 PWA。

您认为非欧盟地区（即英国、美国和世界其他地区）的 iOS 是否会保留 PWA 功能？

我阅读后对此有点不清楚。

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2024年二月19日 07:06 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/33 "2024-02-19T07:06:22Z")

</div>

我们无法录制电话录音，因为在美国某些地方这是非法的。所以呢？我们拭目以待。但苹果公司倾向于在全球范围内推广功能，如果这对他们来说更容易，而且更容易意味着更便宜。

是的，我知道——这是一个无用的评论，因为我只是在猜测，没有任何深入的了解。

---

<div class="post-metadata">

**Author:** ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)\
**Post date:** [2024年二月19日 12:24 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/34 "2024-02-19T12:24:01Z")

</div>

DMA 中是否有禁止 PWA 或其部分功能的规定？

我很有创意，但我不明白为什么主屏幕上的图标和 PWA 中没有浏览器界面会干扰任何新规则或法律。拥有一个 PWA 的独立存储区域听起来也不错。 🤷‍♂️

我刚读了一篇德语文章。他们写道，不确定这是预期的效果，还是仅仅因为 DMA 进行了所有必要的更改而出现的错误。

---

<div class="post-metadata">

**Author:** ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)\
**Post date:** [2024年二月19日 13:03 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/35 "2024-02-19T13:03:23Z")

</div>

不。据我所知，[《数字市场法案》](https://en.wikipedia.org/wiki/Digital_Markets_Act)意味着，如果他们接受 PWA，就必须允许来自 Webkit 以外的其他浏览器引擎的服务工作线程。苹果公司不愿或无法在 2024 年 3 月 7 日《数字市场法案》生效前遵守这一规定。

另一篇深度文章：

> **[OWA’s Review of Apple’s DMA Compliance Proposal for the Web - Open Web Advocacy](https://open-web-advocacy.org/blog/owa-review-apple-dma-compliance-for-web/)**

---

<div class="post-metadata">

**Author:** ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)\
**Post date:** [2024年二月20日 13:58 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/36 "2024-02-20T13:58:05Z")

</div>

> **[Rotten Apple](https://adactio.com/journal/20888)**
>
> Apple are planning to kill mobile web apps. This is not an exaggeration. We must stop them.

> **[Apple on course to break all Web Apps in EU within 20 days - Open Web Advocacy](https://open-web-advocacy.org/blog/apple-on-course-to-break-all-web-apps-in-eu-within-20-days/)**

> **[It’s Official, Apple Kills Web Apps in the EU - Open Web Advocacy](https://open-web-advocacy.org/blog/its-official-apple-kills-web-apps-in-the-eu/)**

---

<div class="post-metadata">

**Author:** ![torstensson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/torstensson/32/83638_2.png) [@torstensson](https://meta.discourse.org/u/torstensson)\
**Post date:** [2024年二月20日 15:27 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/37 "2024-02-20T15:27:07Z")

</div>

感谢您分享这篇文章。

这是欧盟又一项初衷良好但却冗长且技术信息不足的规定，其后果虽非本意但却非常可预见。我知道这肯定会是一个不受欢迎的观点，但我认为这是苹果公司一个相当明显且合理的立场。

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2024年二月20日 15:29 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/38 "2024-02-20T15:29:36Z")

</div>

> [@torstensson](#):
>
> 我知道这肯定会是一个不受欢迎的观点

是的，你说得对。

而且，搞砸事情是苹果自己的选择，不是欧盟的选择。这是需要记住的重要一点。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2024年二月20日 15:32 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/39 "2024-02-20T15:32:38Z")

</div>

> [@torstensson](#):
>
> 但我认为这是苹果公司相当明显且合理的立场。

可以预见，但合理之处在哪里？

这甚至与其管理 macOS 的方式相矛盾（文章中已指出）。

苹果公司正在利用市场力量摧毁网络标准，以便保留其市场力量，在他们的应用商店向人们收取他们想要的费用。

这不合理。这绝对是恶意的。

无论如何，我怀疑这会进一步鼓励人们转向安卓，尽管我承认大多数用户在更有知识的人花时间向他们解释之前，不会理解其中的含义。

然而，我认为，手机界正在发生的几件事使得苹果的立场越来越难维持：

- 我们现在正处于智能手机的巅峰时代（除了设备上的人工智能能力可能增强之外）。
- 非常价格合理的安卓手机现在运行速度几乎和您想要的任何速度一样快。
- 苹果的设备看起来性价比非常低。

除了虚荣价值，谁想携带一个价值 1000 美元的设备，尤其是在度假时，这个设备可能会被摔坏、丢失或被盗？

---

<div class="post-metadata">

**Author:** ![willemb2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/willemb2/32/91608_2.png) [@willemb2](https://meta.discourse.org/u/willemb2)\
**Post date:** [2024年二月20日 16:25 UTC](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346/40 "2024-02-20T16:25:53Z")

</div>

初衷良好，对于我们从垄断回到公平竞争至关重要。  
第一个 DMA 草案来自 2020 年。苹果公司浪费了 3 年多的时间，只是派了一些说客去布鲁塞尔，而不是让他们的开发者在保持高安全标准的同时致力于 DMA 合规。苹果公司目前的行为是纯粹恐慌的结果。他们从未预料到欧盟会坚持执行 DMA。  
这不仅仅是欧盟的战斗。美国联邦贸易委员会也在酝酿类似的想法。

[上一頁](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346.md?page=1)

[下一頁](https://meta.discourse.org/t/discourse-now-works-as-a-pwa-in-ios/146346.md?page=3)
