0

每次我打开我的应用程序时,设备令牌都会改变吗?苹果服务器每次都使用相同的设备令牌还是新的重新生成的设备令牌?

4

1 回答 1

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.

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

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

于 2012-06-29T09:59:21.047 回答