V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  boring98  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2012 年 3 月 8 日
回复了 eary 创建的主题 iDev IOS信息推送的问题
使用Enchanted请求报文格式,用Identifier标识发送给苹果的每一条信息。使用此种请求报文格式如果苹果发现请求数据非法(如token无效),苹果服务器会返回错误信息,然后才断开连接。
参见:
https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW1
于是,你就可以在Identifier上打主意,对消息进行区别了。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1107 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 18:23 · PVG 02:23 · LAX 11:23 · JFK 14:23
♥ Do have faith in what you're doing.