Are scheduled UILocalNotifications part of iOS device backup?

I mean, our app schedules a couple of local notifications. User makes a backup of the system and restores it on a new device. Will previously scheduled local notifications fire on the new system, or do we need to reschedule them again on the new system?


Finally I forced myself to do the test. The result:

YES - scheduled local notifications are part of backup , this means they are restored and scheduled on the new device. The restore overwrites any previously scheduled local notifications for the same app on the target device. Even icon badge number is preserved in backup and restored to the new device - showed on the icon.


我认为这可以恢复/复制到新的设备,或者你必须使用新设备来测试这个工作流程...

链接地址: http://www.djcxy.com/p/54842.html

上一篇: 如何确定最大堆栈大小限制?

下一篇: 计划UILocalNotifications iOS设备备份的一部分?