ios 5 推送通知和 rhomobile
除了应用程序关闭时传入的消息之外,我可以让推送工作。
消息确实会显示在通知中心上,但只有当用户一一点击实际消息时才会传递到应用程序。
有谁知道是否有一种方法可以使用 Rhomobile 从通知中心获取所有消息?
I can get push working except for messages that come in while app is closed.
Messages do show up on Notification Center, but only passed to app when user clicks on the actual msg 1 by 1.
Does anyone know if there is a way to fetch all the messages from the Notification Center with Rhomobile?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于任何感兴趣的人,
无法找到从 iOS 通知中心检索通知的方法,因此我执行了以下操作:
添加到 application.rb
然后添加到 Settings 文件夹内的controller.rb
For anyone interested,
Could not find a way to retrieve notifications from iOS Notifications Center so I did the following:
added in application.rb
Then in controller.rb inside the Settings folder