I’m creating a stand-alone WatchOS app in Swift and I’m setting a number of native notifications for a similar time however in 3-minute intervals for instance if the person units a reminder for 4 pm then I set reminders for 4:00, 4:03, 4:06, 4:09 and 4:12 pm as it is a requirement. Now if the person faucets on any of the delivered notifications it ought to clear all beforehand delivered notifications from the notification centre to attain that I attempted completely different options advised in different questions comparable to:
UNUserNotificationCenter.present().removeDeliveredNotifications
However this isn’t clearing the notification centre. Any assist could be appreciated.