<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/kCFUserNotificationNoDefaultButtonFlag",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@Ea@kCFUserNotificationNoDefaultButtonFlag@kCFUserNotificationNoDefaultButtonFlag"
  },
  "title" : "kCFUserNotificationNoDefaultButtonFlag"
}
-->

# kCFUserNotificationNoDefaultButtonFlag

Displays the dialog without the default, alternate, or other buttons.

```
var kCFUserNotificationNoDefaultButtonFlag: CFOptionFlags { get }
```

## Discussion

The dialog remains on screen until it times out or you cancel it with [`CFUserNotificationCancel(_:)`](/documentation/CoreFoundation/CFUserNotificationCancel(_:)). If you provide a title for the default button in the user notification’s description dictionary, this flag is ignored and buttons show up normally.

---

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)