Are scheduled UILocalNotifications part of iOS dev

2019-02-17 01:08发布

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?

2条回答
狗以群分
2楼-- · 2019-02-17 01:42

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.

查看更多
地球回转人心会变
3楼-- · 2019-02-17 01:57

I think that can be restore/copy to new device, or maybe you have to use new device to test this workflow ...

查看更多
登录 后发表回答