使用 Apple 推送通知服务推送应用程序更新

发布于 2024-12-18 11:44:36 字数 108 浏览 2 评论 0原文

我是 iOS 开发新手,最近才了解 Apple 推送通知服务。

有谁知道是否可以使用 Apple 推送通知服务将应用程序更新推送到 iPhone/iPad 设备?

谢谢。

I am new to iOS development and I recently came to know about the Apple Push Notification Service.

Does anyone know whether it is possible to push application updates to iPhone/iPad devices using Apple Push Notification Service..?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

水染的天色ゝ 2024-12-25 11:44:36

来自文档

本地通知和推送通知是应用程序的方式
不在前台运行以让用户知道它已在前台运行
为他们提供信息。该信息可以是一条消息、一条即将发生的消息
日历事件或远程服务器上的新数据。当由
操作系统、本地和推送通知的外观和声音
相同的。他们可以显示警报消息,也可以标记
应用程序图标。当警报或徽章出现时,他们还可以播放声音
显示数量。

所以不,您无法推送应用程序更新。您可以发送一条消息,告诉用户有可用的更新,尽管许多用户会认为这非常令人讨厌。

From the documentation:

Local notifications and push notifications are ways for an application
that isn’t running in the foreground to let its users know it has
information for them. The information could be a message, an impending
calendar event, or new data on a remote server. When presented by the
operating system, local and push notifications look and sound the
same. They can display an alert message or they can badge the
application icon. They can also play a sound when the alert or badge
number is shown.

So no, you can't push application updates. You could send a message telling the user that an update was available, though that would be considered pretty obnoxious by many users.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文