Is there a way to get a number of all notification in iPhone / iPad (from notification center)? Or just number of badges in apps?
Tried tu use UNUserNotificationCenter, but I wasnt able to make it work...
Thanks for answer,
I assume you want to know the badge number displayed on your app's icon. That is:
[[UIApplication sharedApplication] applicationIconBadgeNumber];
If you want to know the number on other apps - you can't.