iPhone 接收 APN 时出现延迟
有时我在接收 APN 时遇到延迟,而有时它工作得很好。
我还连接到 ssl://feedback.sandbox.push.apple.com 的反馈服务器,但它没有显示任何数据。
延迟的可能原因有哪些?
谢谢
Sometimes I am experiecing a delay while receiving APN , while at other times its working absolutely fine.
I am also connecting to the feedback server at ssl://feedback.sandbox.push.apple.com , but its not showing any data.
What are the possible reasons for the delay?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的 3G 或 Edge 连接状况不佳(iPhone 使用这些网络而不是 Wi-Fi 进行推送,除非它们完全不可用),则可能会发生延迟。如果连接已断开但设备不知道,它将等待,直到进行心跳并意识到连接已关闭。
此外,如果您使用的是 iPod Touch,则只有在背光打开或通过 USB 插入时才会维持与推送服务器的连接;否则,当背光关闭以节省电量时,wifi 连接将会断开,并且它会每半小时轮询一次新通知。
Delay can happen if you've got a bad connection on 3G or Edge (iPhones use those, not wifi, for push unless they're totally unavailable). If the connection is dropped but the device doesn't know it, it'll wait until it does a heartbeat and realizes the connection is closed.
Also, if you're using an iPod Touch, the connection to the push servers will only be maintained while the backlight is on or you're plugged in via USB; otherwise the wifi connection will be dropped when the backlight goes off to save power, and it'll poll for new notifications every half an hour.