当应用程序处于后台时捕获远程通知
当应用程序在后台“运行”时,有没有办法捕获远程推送通知?
我已经实现了委托函数 didReceiveRemoteNotification,并希望它能够在新 iPhone OS 4.0 中的应用程序处于后台时捕获远程通知。
应用程序正确地处于后台,因为它保持了我按下主页按钮时的旧状态。但出现的推送通知有一个弹出窗口,就像应用程序未运行时应有的那样......
Is there a way to catch remote push notification while the application is "running" in Background ?
I have implemented the delegate function didReceiveRemoteNotification, and would like it to catch the remote notification while the application is in Background in the new iPhone OS 4.0
The application is correctly in background, since it keep the old state it was when I press the home button. But the push notification is appearing has a popup just like it should when the application is not running...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,你就是不能... :-( 太糟糕了,苹果还没有考虑到这一点...
Well you just can't... :-( Too bad Apple's hasn't think about this...