应用程序可以在后台接收推送通知而不通知用户吗?

发布于 2024-12-18 19:54:52 字数 107 浏览 1 评论 0原文

我已阅读 Apple 推送通知文档,似乎这是不可能的,但只是想知道是否有解决方法等。 如果应用程序位于后台并且服务器发送推送通知,是否有任何方法可以使应用程序独立于用户点击操作按钮而接收该事实的指示?

I've read the Apple Push Notification documentation and it seems this isn't possible but was just wondering if there are workarounds etc.
If an application is in the background and a server sends a push notification, if there any way the application can receive an inidcation of that fact independently of the user tapping the action button?

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

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

发布评论

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

评论(2

帝王念 2024-12-25 19:54:52

不,那不可能。除非用户使用操作按钮激活应用程序,否则应用程序不会了解传入的推送通知。

No, that's not possible. The application does not get to know about an incoming push notification unless the user activates it with the action button.

倾`听者〃 2024-12-25 19:54:52

否 - 但如果应用程序在后台运行,并且启用多任务处理,您仍然可以使用网络。

对于苹果来说,事情总是非常简单:如果某件事不可能,就不会有解决方法。

No - but if the app is in the background, you can still use the network if you enable multitasking.

With Apple it's always pretty simple: if something is not possible, there won't be workarounds.

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