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

# kCFUserNotificationDefaultButtonTitleKey

The title of the default button.

## Declaration

```swift
let kCFUserNotificationDefaultButtonTitleKey: CFString!
```

## Discussion

Discussion If absent and the dialog is not being created with the kCFUserNotificationNoDefaultButtonFlag flag, a default button title of OK is used.

## See Also

### Constants

- [kCFUserNotificationIconURLKey](corefoundation/kcfusernotificationiconurlkey.md)
- [kCFUserNotificationSoundURLKey](corefoundation/kcfusernotificationsoundurlkey.md)
- [kCFUserNotificationLocalizationURLKey](corefoundation/kcfusernotificationlocalizationurlkey.md)
- [kCFUserNotificationAlertHeaderKey](corefoundation/kcfusernotificationalertheaderkey.md)
- [kCFUserNotificationAlertMessageKey](corefoundation/kcfusernotificationalertmessagekey.md)
- [kCFUserNotificationAlternateButtonTitleKey](corefoundation/kcfusernotificationalternatebuttontitlekey.md)
- [kCFUserNotificationOtherButtonTitleKey](corefoundation/kcfusernotificationotherbuttontitlekey.md)
- [kCFUserNotificationProgressIndicatorValueKey](corefoundation/kcfusernotificationprogressindicatorvaluekey.md)
- [kCFUserNotificationPopUpTitlesKey](corefoundation/kcfusernotificationpopuptitleskey.md)
- [kCFUserNotificationTextFieldTitlesKey](corefoundation/kcfusernotificationtextfieldtitleskey.md)
- [kCFUserNotificationCheckBoxTitlesKey](corefoundation/kcfusernotificationcheckboxtitleskey.md)
- [kCFUserNotificationTextFieldValuesKey](corefoundation/kcfusernotificationtextfieldvalueskey.md)
- [kCFUserNotificationPopUpSelectionKey](corefoundation/kcfusernotificationpopupselectionkey.md)
