<!--
{
  "availability" : [
    "iOS: 8.0.0 - 10.0.0",
    "iPadOS: 8.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIUserNotificationSettings/categories",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIUserNotificationSettings(py)categories"
  },
  "title" : "categories"
}
-->

# categories

The app’s registered groups of actions.

```
var categories: Set<UIUserNotificationCategory>? { get }
```

## Discussion

This property contains the [`UIUserNotificationCategory`](/documentation/UIKit/UIUserNotificationCategory) objects that you specified when creating the settings object. Each object corresponds to a group of actions that may be displayed in conjunction with a push notification. After registration, this property contains the set of actions you specified in your initial request.

## See Also

[`init(types:categories:)`](/documentation/UIKit/UIUserNotificationSettings/init(types:categories:))

Creates and returns a settings object that you can use to register your requested notification and action types.



---

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)