菜鸟教程小白 发表于 2022-12-12 22:39:01

ios - iPhone - 应用程序卸载通知


                                            <p><p>当我的 iOS 应用被卸载时,如何从 App Store 或 APN 获得通知?</p>

<p>另外,如果我为卸载我的应用程序的设备发送推送通知,会发生什么? Apple 会禁止此类流氓推送通知吗?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>没有办法让您的应用知道它是否已被卸载。此外,我不相信 Apple 会告诉您您的应用是否已卸载。</p>
<p> <a href="http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW3" rel="noreferrer noopener nofollow">Apples Push Notification Service&#39;s FeedBack Service</a>确实提供了一种了解设备是否无法接收通知的方法。但是,这并不能保证设备已被卸载,只能保证无论出于何种原因,它都无法接收推送通知。</p>
<blockquote>
<p>If a provider attempts to deliver a push notification to an application, but the application no longer exists on the device, the device reports that fact to Apple Push Notification Service. This situation often happens when the user has uninstalled the application. If a device reports failed-delivery attempts for an application, APNs needs some way to inform the provider so that it can refrain from sending notifications to that device. Doing this reduces unnecessary message overhead and improves overall system performance.</p>
<p>For this purpose Apple Push Notification Service includes a feedback service that APNs continually updates with a per-application list of devices for which there were failed-delivery attempts.</p>
</blockquote></p>
                                   
                                                <p style="font-size: 20px;">关于ios - iPhone - 应用程序卸载通知,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/12217603/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/12217603/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - iPhone - 应用程序卸载通知