Contents

removeScheduledNotification(_:)

Removes the specified user notification for the scheduled notifications.

Declaration

func removeScheduledNotification(_ notification: NSUserNotification)

Parameters

  • notification:

    The user notification.

Discussion

If the user notification’s deliveryDate occurs before the cancellation finishes, the notification may still be delivered.

If the notification is not in the scheduled list, nothing happens.

See Also

Managing the Scheduled Notification Queue