Contents

userNotificationCenter(_:didDeliver:)

Sent to the delegate when a notification delivery date has arrived.

Declaration

optional func userNotificationCenter(_ center: NSUserNotificationCenter, didDeliver notification: NSUserNotification)

Parameters

  • center:

    The user notification center.

  • notification:

    The user notification object.

Discussion

This method is always called, regardless of your application state and even if you deliver the user notification yourself using deliver(_:).

This delegate method is invoked before the userNotificationCenter(_:shouldPresent:) delegate method.

See Also

User Notification Delivery Information