<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIActivityItemsConfigurationProviding/activityItemsConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIActivityItemsConfigurationProviding(py)activityItemsConfiguration"
  },
  "title" : "activityItemsConfiguration"
}
-->

# activityItemsConfiguration

An object or value that specifies items to share.

```
var activityItemsConfiguration: (any UIActivityItemsConfigurationReading)? { get }
```

## Discussion

To offer a configuration for sharing through Siri or the toolbar in an app built with Mac Catalyst, override this property on the root view controller or a modal view controller. To provide a configuration when your app is displaying a [`UISplitViewController`](/documentation/UIKit/UISplitViewController), implement this property on the detail view controller.

To offer a configuration for sharing through a context menu, override this property on your [`UIView`](/documentation/UIKit/UIView) subclass, and attach a [`UIContextMenuInteraction`](/documentation/UIKit/UIContextMenuInteraction) to that view.

> Note:
> When the user asks Siri to “share this” on iOS, if both ``doc://com.apple.uikit/documentation/UIKit/UIActivityItemsConfigurationProviding/activityItemsConfiguration`` and ``doc://com.apple.uikit/documentation/UIKit/UIWindowScene/activityItemsConfigurationSource`` are `nil`, the system uses the <doc://com.apple.documentation/documentation/Foundation/NSUserActivity/webpageURL> property on your app’s current ``doc://com.apple.uikit/documentation/UIKit/UIResponder/userActivity`` to create shareable content. The system doesn’t offer this fallback behavior in an app built with Mac Catalyst.

---

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)