开发者

Push notification Implementation [closed]

开发者 https://www.devze.com 2022-12-17 20:19 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, ove开发者_开发百科rly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, ove开发者_开发百科rly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

How to implement Push notification in iPhone?


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


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


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号