将 PushNotification 服务添加到 iPhone 应用程序
很多天以来,我一直在尝试在我的应用程序中从服务器站点实现推送通知,但我无法在我的应用程序中获得推送通知服务。但我收到此错误:
错误:Domain=NSCocoaErrorDomain Code=3000 未找到应用程序的“无效”aps-environment' 权利字符串 UserInfor=0x170140 {NSLOcalizedDescription=未找到应用程序的有效“aps-environment”权利字符串}
任何人都可以帮我解决此错误?
或者给我一些我在申请中缺少的更明确的步骤。
实际上,我必须发送有关服务器端应用程序中的某些更改的通知。就像如果有人在网站上发布博客一样,它应该显示在每个应用程序持有者中。为此,我们需要生成 JSON。所以我主要担心的是如何使用 PushNotification 服务连接我的服务器或 JSON 更新。我想现在更清楚了。
谢谢。
I am trying to implement Push Notification from server site in my application since many day but I am unable to get push notification service in my application. but I am getting this error:
error : Domain=NSCocoaErrorDomain Code=3000 'no valid' aps- environment' entitlement string found for application UserInfor=0x170140 {NSLOcalizedDescription=no valid 'aps- environment' entitlement string found for application}
Can any one help me out to resolve this error?
Or give me some more clear steps what I am missing in my application.
Actually I have to Send notification on some changes in my Server side application. Like If some one post a Blog on the site it should be shown in every app holder. For this we need to generate the JSON. So my main worry is how to connect my Server or my JSON updates with PushNotification service. I Think now it's more clear.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这会对您有所帮助:
http: //blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/
并尝试进行一些谷歌搜索!
perhaps this will help you:
http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/
and try to do a bit of googling!!