<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUserNotificationCenterDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(pl)NSUserNotificationCenterDelegate"
  },
  "title" : "NSUserNotificationCenterDelegate"
}
-->

# NSUserNotificationCenterDelegate

An interface that enables customizing the behavior of the default notification center.

```
protocol NSUserNotificationCenterDelegate : NSObjectProtocol
```

## Topics

### User Notification Delivery Information

[`userNotificationCenter(_:didDeliver:)`](/documentation/Foundation/NSUserNotificationCenterDelegate/userNotificationCenter(_:didDeliver:))

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

[`userNotificationCenter(_:didActivate:)`](/documentation/Foundation/NSUserNotificationCenterDelegate/userNotificationCenter(_:didActivate:))

Sent to the delegate when a user clicks on a user notification presented by the user notification center.

### User Notification Display Override

[`userNotificationCenter(_:shouldPresent:)`](/documentation/Foundation/NSUserNotificationCenterDelegate/userNotificationCenter(_:shouldPresent:))

Sent to the delegate when the user notification center has decided not to present your notification.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)