As far as I know so far, the proxy method related to LocalNotification cannot be triggered by clicking the icon or swiping the screen to enter the App.
You can get all LocalNotifications through [[UIApplication sharedApplication] scheduledLocalNotifications], but you need to understand the timeliness.
You can also store related Notifications yourself, and then do related processing when entering the App, which is more flexible.
What you want to do after getting the notification, just do the corresponding operation in applicationDidFinishLaunching in AppDelegate. The premise is to judge that the time is up
As far as I know so far, the proxy method related to LocalNotification cannot be triggered by clicking the icon or swiping the screen to enter the App.
You can get all LocalNotifications through
[[UIApplication sharedApplication] scheduledLocalNotifications]
, but you need to understand the timeliness.You can also store related Notifications yourself, and then do related processing when entering the App, which is more flexible.
These two situations will not trigger the proxy method of local notification
What you want to do after getting the notification, just do the corresponding operation in applicationDidFinishLaunching in AppDelegate. The premise is to judge that the time is up