发送推送通知,而无需访问UDID [英] Sending Push Notification without accessing UDID

查看:157
本文介绍了发送推送通知,而无需访问UDID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我才知道,苹果开始拒绝访问UDID的应用程序。
那么怎样才能不访问UDID的发送推送通知。
可能吗?如果有,请帮我解决这个问题。

I come to know that Apple started to reject apps that access UDIDs. Then How can we send push notification without accessing UDIDs. Is it possible? if yes, please help me to solve this problem.

先谢谢了。

推荐答案

该设备令牌(由APNS使用)和<一个href=\"http://developer.apple.com/library/ios/#documentation/uikit/reference/UIDevice_Class/De$p$pcationAppendix/AppendixADe$p$pcatedAPI.html#//apple_ref/occ/instp/UIDevice/uniqueIdentifier\">UDID是两回事。他们无关对方。

The device token (used by APNS) and the UDID are two different things. They have nothing to do with each other.

您获得推送通知设备令牌应用程序委托的应用程序:didRegisterForRemoteNotificationsWithDeviceToken:

You obtain the device token for push notifications in your app delegate's application:didRegisterForRemoteNotificationsWithDeviceToken: method.

的<一个href=\"http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html\">documentation注意到以下几点:

该设备令牌是从的UIDevice的唯一标识符财产不同,因为,出于安全和保密原因,必须改变时擦除设备。

The device token is different from the uniqueIdentifier property of UIDevice because, for security and privacy reasons, it must change when the device is wiped.

这篇关于发送推送通知,而无需访问UDID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆