Is there a way in AppDelegate to get a queue of all the notification data? (Once the user opens the app).
For UILocalNotification
, you can get received notifications by calling following function in your AppDelegate
:
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
UIApplicationState state = [application applicationState];
if (state == UIApplicationStateInactive) {
// Application was in the background when notification was delivered.
}
}
If you want to find the list of local Notifications, that app has already set, check this solution.