应用程序可以在后台接收推送通知而不通知用户吗?
我已阅读 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,那不可能。除非用户使用操作按钮激活应用程序,否则应用程序不会了解传入的推送通知。
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.
否 - 但如果应用程序在后台运行,并且启用多任务处理,您仍然可以使用网络。
对于苹果来说,事情总是非常简单:如果某件事不可能,就不会有解决方法。
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.