【问题标题】:Device Token - Apple push Notification Service设备令牌 - Apple 推送通知服务
【发布时间】:2012-06-30 20:40:22
【问题描述】:

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

【问题讨论】:

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


    【解决方案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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-02-28
      • 2023-03-26
      • 1970-01-01
      • 2010-11-23
      • 1970-01-01
      • 1970-01-01
      • 2012-10-15
      • 1970-01-01
      相关资源
      最近更新 更多