<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNNotificationCategoryOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:@E@UNNotificationCategoryOptions"
  },
  "title" : "UNNotificationCategoryOptions"
}
-->

# UNNotificationCategoryOptions

Constants indicating how to handle notifications associated with this category.

```
struct UNNotificationCategoryOptions
```

## Topics

### Creating an option

[`init(rawValue:)`](/documentation/UserNotifications/UNNotificationCategoryOptions/init(rawValue:))

Initializes a notification category options object using the specified raw value.

### Customizing a category

[`allowInCarPlay`](/documentation/UserNotifications/UNNotificationCategoryOptions/allowInCarPlay)

Allow CarPlay to display notifications of this type.

[`allowAnnouncement`](/documentation/UserNotifications/UNNotificationCategoryOptions/allowAnnouncement)

An option that grants Siri permission to read incoming messages out loud when the user has a compatible audio output device connected.

### Managing hidden preview behavior

[`hiddenPreviewsShowTitle`](/documentation/UserNotifications/UNNotificationCategoryOptions/hiddenPreviewsShowTitle)

Show the notification’s title, even if the user has disabled notification previews for the app.

[`hiddenPreviewsShowSubtitle`](/documentation/UserNotifications/UNNotificationCategoryOptions/hiddenPreviewsShowSubtitle)

Show the notification’s subtitle, even if the user has disabled notification previews for the app.

### Managing action handling behavior

[`customDismissAction`](/documentation/UserNotifications/UNNotificationCategoryOptions/customDismissAction)

Send dismiss actions to the `UNUserNotificationCenter` object’s delegate for handling.



---

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)