---
title: kCFUserNotificationNoDefaultButtonFlag
framework: Core Foundation
role: symbol
role_heading: Global Variable
platforms: [macOS 10.0+]
path: corefoundation/kcfusernotificationnodefaultbuttonflag
---

# kCFUserNotificationNoDefaultButtonFlag

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

## Declaration

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

## Discussion

Discussion The dialog remains on screen until it times out or you cancel it with 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.

## See Also

### Constants

- [kCFUserNotificationUseRadioButtonsFlag](corefoundation/kcfusernotificationuseradiobuttonsflag.md)
