设备令牌 - Apple推送通知服务

时间:2012-06-29 09:54:45

标签: ipad ios5 ios4 xcode4.2 xcode4.3

每次打开我的应用程序时,

是否会更改设备令牌? Apple服务器每次使用相同的设备令牌或新的重新生成的设备令牌?

1 个答案:

答案 0 :(得分:1)

您可以查看开发人员文档,其中提到了以下内容 -

The form of this phase of token trust ensures that only APNs generates the token which it will later honor, and it can assure itself that a token handed to it by a device is the same token that it previously provisioned for that particular device—and only for that device.

If the user restores backup data to a new device or reinstalls the operating system, the device token changes.

因此,在重新安装操作系统之前,它们是独一无二的。

您可以在此处查看详细信息 - http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW12