Instance Method

removeDeliveredNotification(_:)

Remove a delivered user notification from the user notification center.

Declaration

func removeDeliveredNotification(_ notification: NSUserNotification)

Parameters

notification

The user notification.

Discussion

If the user notification is not in deliveredNotifications, nothing happens.

See Also

Managing the Delivered Notifications

func deliver(NSUserNotification)

Deliver the specified user notification.

Deprecated
var deliveredNotifications: [NSUserNotification]

An array of all user notifications delivered to the notification center.

Deprecated
func removeAllDeliveredNotifications()

Remove all delivered user notifications from the user notification center.

Deprecated