【发布时间】:2015-08-17 13:45:34
【问题描述】:
我想要做的是设置一个本地通知。代码按预期工作,但如果手机关机怎么办?
在阅读了UILocalNotification when iPhone switched off 上的一些文章后,我需要重新创建每个本地通知,所以我浏览了这个How to check if iOS device has been rebooted since launch 和How can I detect whether the iphone has been rebooted since last time app started,但仍然无法达到我的目标。
我想知道的是:当 iPhone 重启时是否会启动一个事件?
【问题讨论】:
标签: ios objective-c iphone uilocalnotification