推送通知实施
如何在iPhone中实现推送通知?
How to implement Push notification in iPhone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
如何在iPhone中实现推送通知?
How to implement Push notification in iPhone?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
Apple关于推送通知的文档非常清晰,带有示例代码:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
The Apple documentation on Push Notifications is very clear, with sample code:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
如果您对实现自己的服务器解决方案来向客户端提供推送通知不感兴趣,您可能对以下解决方案感兴趣:
http ://appnotify.com/
http://urbanairship.com/push/
每次收费发送推送通知的费用,但它们也抽象了大部分初始设置的复杂性,显然,还抽象了与维护自己的服务器/带宽相关的成本。
如果您有兴趣托管自己的解决方案,我已经成功使用了 Apns4r(一个 Rails 插件): http:// /github.com/searls/Apns4r
If you aren't interested in implementing your own server solution for providing push notifications to your client, you might be interested in these solutions:
http://appnotify.com/
http://urbanairship.com/push/
Each charge a fee for push notifications sent, but they also abstract away most of the initial setup complexity and, obviously, the costs associated with maintaining one's own server/bandwidth.
If you're interested in hosting your own solution, I've had success with Apns4r, a Rails plugin: http://github.com/searls/Apns4r
还有一个开源 python Apple 推送通知服务器,以防您想推出自己的服务器并且不喜欢 Justin 提到的任何选项。
http://leepa.github.com/django-iphone-push/
There is also an open source python Apple Push Notification server, in case you want to roll your own and don't fancy any of the options that Justin mentioned.
http://leepa.github.com/django-iphone-push/