[英]iOS Push notification - not guaranteed
我已經從本教程http://www.raywenderlich.com/32963/apple-push-notification-services-in-ios-6-tutorial-part-2制作了用於Push Notification的PushChatStarter應用程序
但是我發現只有一些消息可以成功發送。 在教程中提到不能保證推送通知。 我想知道發生這種情況的原因。
我無法理解該教程中提到的解決方案。 任何人都可以解釋如何獲得解決方案。 我想知道如何使應用程序可靠。
我在這里找到了答案: https : //developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/WhatAreRemoteNotif.html
Quality of Service
Apple Push Notification Service includes a default Quality of Service (QoS) component that
performs a store-and-forward function. If APNs attempts to deliver a notification but the device
is offline, the QoS stores the notification. It retains only one notification per application
on a device: the last notification received from a provider for that application.
When the offline device later reconnects, the QoS forwards the stored notification to the device.
The QoS retains a notification for a limited period before deleting it.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.