To find out if he clears a single notification I can use the categoryIdentifier and actionIdentifier and and userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: u/escaping () -> Void) gets called.
Is there a method that gets called when the "clear" button from notification center is used? The result of this action on the button is that all notifications get cleared.
I want on that call to reset badge number to 0.
Is there a method that gets called when the "clear" button from notification center is used? The result of this action on the button is that all notifications get cleared.
I want on that call to reset badge number to 0.