iphone 在 UILocalNotification 上恢复应用程序

发布于 2024-09-24 16:09:04 字数 122 浏览 2 评论 0原文

我已经设法让我正在编写的应用程序在后台时显示 UILocalNotification。但当应用程序恢复时,用户界面将变为非活动状态。

有谁知道如何让应用程序从后台状态恢复后再次响应?

谢谢, 马特。

I've managed to get the application I'm writing to present a UILocalNotification when it is in the background. Though when the application resumes, the user interface becomes inactive.

Is anyone aware of how to get the application responding again having resumed from the background state?

Thanks,
Matt.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

只是在用心讲痛 2024-10-01 16:09:04

我遇到了这个问题,发现答案是在调试时不要设置通知。相反,请确保您的应用程序已完全退出,从主屏幕启动它,然后设置通知。

I had this problem and found that the answer is to not set up your notifications while in debug. Instead make sure your app has quit fully, launch it from the homescreen and then set the notifications.

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