Hi everyone,
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,
Matej
Hi everyone,
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,
Matej
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.
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.