In any case, to view scheduled local notifications

Is there a way to view all currently scheduled local notifications for my application?

Just trying to do some debugging, and it would be nice to see a list of notifications, rather than waiting until they work.

_mike

+6
source share
1 answer

This gives you an array with all scheduled local notifications. You can go through it

UIApplication *app = [UIApplication sharedApplication]; NSArray *eventArray = [app scheduledLocalNotifications]; 
+6
source

Source: https://habr.com/ru/post/951973/


All Articles