Closed megataps closed 5 years ago
You can now delete a notification scheduler.cancelNotification(notification: notification). If you don't have the original notification just create a dummy notification with your identifier. E.g.
let notification = DLNotification(identifier: <YOUR IDENTIFIER>, alertTitle: "", alertBody: "", date: Date(), repeats: .minute) scheduler.cancelNotification(notification: notification)
You can now delete a notification scheduler.cancelNotification(notification: notification). If you don't have the original notification just create a dummy notification with your identifier. E.g.