<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/1534481-button-flags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Button Flags"
}
-->

# Button Flags

Flags that alter the display of buttons in a user notification dialog.

## Discussion

You specify these flags when you create the user notification with [`CFUserNotificationCreate(_:_:_:_:_:)`](/documentation/CoreFoundation/CFUserNotificationCreate(_:_:_:_:_:)).

## Topics

### Constants

[`var kCFUserNotificationNoDefaultButtonFlag: CFOptionFlags`](/documentation/CoreFoundation/kCFUserNotificationNoDefaultButtonFlag)

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

[`var kCFUserNotificationUseRadioButtonsFlag: CFOptionFlags`](/documentation/CoreFoundation/kCFUserNotificationUseRadioButtonsFlag)

Creates a group of radio buttons instead of checkboxes for the elements in the [`kCFUserNotificationCheckBoxTitlesKey`](/documentation/CoreFoundation/kCFUserNotificationCheckBoxTitlesKey) array in the user notification’s description dictionary.



---

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)