Contents

deliver(_:)

Deliver the specified user notification.

Declaration

func deliver(_ notification: NSUserNotification)

Parameters

  • notification:

    The user notification.

Discussion

The notification will be presented to the user (subject to the user’s preferences). The isPresented property of the NSUserNotification object will always be set to true if a notification is delivered using this method.

See Also

Related Documentation

Managing the Delivered Notifications