<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceActivity",
  "identifier" : "/documentation/DeviceActivity/DeviceActivityData/CategoryActivity/category",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Device Activity"
    ],
    "preciseIdentifier" : "s:14DeviceActivity0aB4DataV08CategoryB0V8category15ManagedSettings0bD0Vvp"
  },
  "title" : "category"
}
-->

# category

Access the category of the activity.

```
var category: ActivityCategory
```

## Discussion

Your device activity report extension can access the category’s <doc://com.apple.documentation/documentation/ManagedSettings/ActivityCategory/localizedDisplayName>.

---

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)