---
title: "deliver(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsusernotificationcenter/deliver(_:)"
---

# deliver(_:)

Deliver the specified user notification.

## Declaration

```swift
func deliver(_ notification: NSUserNotification)
```

## Parameters

- `notification`: The user notification.

## Discussion

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

- [removeScheduledNotification(_:)](foundation/nsusernotificationcenter/removeschedulednotification(_:).md)

### Managing the Delivered Notifications

- [deliveredNotifications](foundation/nsusernotificationcenter/deliverednotifications.md)
- [removeDeliveredNotification(_:)](foundation/nsusernotificationcenter/removedeliverednotification(_:).md)
- [removeAllDeliveredNotifications()](foundation/nsusernotificationcenter/removealldeliverednotifications().md)
