<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFNotificationSuspensionBehavior",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@E@CFNotificationSuspensionBehavior"
  },
  "title" : "CFNotificationSuspensionBehavior"
}
-->

# CFNotificationSuspensionBehavior

Suspension flags that indicate how distributed notifications should be handled when the receiving application is in the background.

```
enum CFNotificationSuspensionBehavior
```

## Overview

An application selects the suspension behavior for a given notification when it registers an observer for that notification with [`CFNotificationCenterAddObserver(_:_:_:_:_:_:)`](/documentation/CoreFoundation/CFNotificationCenterAddObserver(_:_:_:_:_:_:)).

## Topics

### Constants

[`CFNotificationSuspensionBehavior.drop`](/documentation/CoreFoundation/CFNotificationSuspensionBehavior/drop)

The server will not queue any notifications of the specified name and object while the receiving application is in the background.

[`CFNotificationSuspensionBehavior.coalesce`](/documentation/CoreFoundation/CFNotificationSuspensionBehavior/coalesce)

The server will only queue the last notification of the specified name and object; earlier notifications are dropped.

[`CFNotificationSuspensionBehavior.hold`](/documentation/CoreFoundation/CFNotificationSuspensionBehavior/hold)

The server will hold all matching notifications until the queue has been filled (queue size determined by the server) at which point the server may flush queued notifications.

[`CFNotificationSuspensionBehavior.deliverImmediately`](/documentation/CoreFoundation/CFNotificationSuspensionBehavior/deliverImmediately)

The server will deliver notifications of the specified name and object whether or not the application is in the background. When a notification with this suspension behavior is matched, it has the effect of first flushing any queued notifications.



---

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)