gpt4 book ai didi

ios - iOS 推送通知和远程通知之间的区别?

转载 作者:可可西里 更新时间:2023-11-01 04:43:22 25 4
gpt4 key购买 nike

在 Xcode 的应用程序功能下,有一个选项可以打开推送通知。在后台模式下,还有一个选项可以打开远程通知。有什么区别?优点/缺点?

我是否仍要为远程通知设置推送证书?

最佳答案

远程通知是一种特殊的(而且命名不当)后台模式,它允许应用下载内容以响应推送通知。

来自 Apple :

The app wants to start downloading content when a push notification arrives. Use this notification to minimize the delay in showing content related to the push notification.

普通推送通知不需要此权限,但添加此模式允许推送通知的附加功能。

是的,即使启用了这种后台模式,您仍然需要推送证书。

关于ios - iOS 推送通知和远程通知之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39235244/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com