Iphone 多个本地通知

发布于 2024-09-18 21:37:01 字数 171 浏览 1 评论 0原文

当我收到多个通知但没有立即回复时,我面临着一种非常奇怪的经历。过了一会儿,我按下查看按钮,它打开我的应用程序并显示黑屏。

顺便说一句,当我单击视图按钮时,应用程序正在后台运行,并且它也不会触发 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丢了幸福的猪 2024-09-25 21:37:01

当您的应用程序在后台运行时,如果有通知到来,它将调用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文