iphone 在 UILocalNotification 上恢复应用程序
我已经设法让我正在编写的应用程序在后台时显示 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了这个问题,发现答案是在调试时不要设置通知。相反,请确保您的应用程序已完全退出,从主屏幕启动它,然后设置通知。
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.