Push Notification Device Token?

前端 未结 3 950
无人共我
无人共我 2021-01-29 23:12

How to get Device Token from my iPhone Device?

3条回答
  •  半阙折子戏
    2021-01-29 23:42

    If you have implemented this method

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

    for Push Notification then you will get the device token (This method is actually one of the two methods that you require to implement in the application)

    This might find it useful http://urbanairship.com/docs/push.html

    you can also look at Push Notification in Iphone application

    I hope you find this useful.

提交回复
热议问题