<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/DistributedNotificationCenter/suspended",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDistributedNotificationCenter(py)suspended"
  },
  "title" : "suspended"
}
-->

# suspended

Suspends or resumes notification delivery.

```
var suspended: Bool { get set }
```

## Parameters

`suspended`

<doc://com.apple.documentation/documentation/Swift/true> suspends notification delivery, <doc://com.apple.documentation/documentation/Swift/false> resumes it.

## Discussion

See [`DistributedNotificationCenter.SuspensionBehavior`](/documentation/Foundation/DistributedNotificationCenter/SuspensionBehavior) for details on how the receiver delivers notifications to their observers when normal notification delivery is suspended.

The <doc://com.apple.documentation/documentation/AppKit/NSApplication> class automatically suspends distributed notification delivery when the application is not active. Applications based on the Application Kit framework should let AppKit manage the suspension of notification delivery. Foundation-only programs may have occasional need to use this method.

## See Also

[`addObserver(_:selector:name:object:suspensionBehavior:)`](/documentation/Foundation/DistributedNotificationCenter/addObserver(_:selector:name:object:suspensionBehavior:))

Adds an entry to the receiver’s dispatch table with a specific observer and suspended-notifications behavior, and optional notification name and sender.

[`postNotificationName(_:object:userInfo:deliverImmediately:)`](/documentation/Foundation/DistributedNotificationCenter/postNotificationName(_:object:userInfo:deliverImmediately:))

Creates a notification with information and an immediate-delivery specifier, and posts it to the receiver.



---

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)