Iphone 多个本地通知
当我收到多个通知但没有立即回复时,我面临着一种非常奇怪的经历。过了一会儿,我按下查看按钮,它打开我的应用程序并显示黑屏。
顺便说一句,当我单击视图按钮时,应用程序正在后台运行,并且它也不会触发 didReceiveLocalNotification。
有谁知道有什么问题吗?
谢谢
I face a very weird experience, when i receive multiple notification and then didn't response to it immediately. After a while, i pressed the view button and it open my application and show black screen.
BTW, the application is running at background when i click the view button and it also doesn't trigger didReceiveLocalNotification.
Does anyone know what is the problem?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您的应用程序在后台运行时,如果有通知到来,它将调用
applicationFinishLauchingwithOptions
方法。因此,请在该部分写下您的逻辑。When your application is running in background and if notification come, then it will call
applicationFinishLauchingwithOptions
Method. So write your logic in that part.