简体   繁体   English

如何生成用于Apple推送通知的设备令牌?

[英]How can I generate a device token used for Apple push notification?

如何为用户生成用于该设备的特定应用程序的苹果推送的设备令牌

The following document outlines most of the APNS functionality. 以下文档概述了大多数APNS功能。 Including howto generate a device token. 包括如何生成设备令牌。

http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/RemoteNotificationsPG.pdf http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/RemoteNotificationsPG.pdf

Below delegate method write in app delegate method 在委托方法下面写入app delegate方法

  • (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { } (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM