iPod Touch 的推送通知服务如何运作?
我正在为 iPhone 和 iPod Touch 开发一个使用推送通知服务的应用程序。对于 iPhone,用户可以使用 UDID 或电话号码注册其设备。由于没有该设备的电话号码,iPod touch 用户如何接收通知?
我一定错过了一些我的理解。请帮忙!
谢谢。 马塞洛
I am developing an app using push notification service for both iPhone and iPod Touch. For iPhone the user can register their device using UDID or phone number. How can an iPod touch people receive the notifications as there is no phone number for the device?
I must miss something from my understanding. Please help!
Thanks.
Marcelo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不需要电话号码。您使用 sdk 中内置的方法进行注册并接收回令牌。
http://developer.apple.com/ iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
The phone number is not needed. You register with methods built into the sdk and receive back a token.
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
iPod touch 仅在通过 Wifi 连接时才会收到通知。
无论如何,请记住,如果发送通知时设备不可用,则只会发送最后一个通知。
-t
The iPod touch will only receive notifications when it's connected via Wifi.
In any case, remember only the last notification will be sent if the device is not available when notifications are sent out.
-t