<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIActivity/activityCategory",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIActivity(cpy)activityCategory"
  },
  "title" : "activityCategory"
}
-->

# activityCategory

The category of the activity, which may be used to group activities in the UI.

```
class var activityCategory: UIActivity.Category { get }
```

## Return Value

The assigned category of the activity. The default implementation returns [`UIActivity.Category.action`](/documentation/UIKit/UIActivity/Category/action).

## Discussion

Override this property to define a different activity category for your custom activity.

---

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)