Contents

activityItemsConfiguration

An object or value that specifies items to share.

Declaration

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, implement this property on the detail view controller.

To offer a configuration for sharing through a context menu, override this property on your UIView subclass, and attach a UIContextMenuInteraction to that view.