---
title: collaborationModeRestrictions
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiactivityitemsconfigurationmetadatakey/collaborationmoderestrictions
---

# collaborationModeRestrictions

A key for a collaboration mode restriction, used to specify the case where Share Sheet should not support some modes of sharing even if they are supported by the items being shared The object returned for this key should be an array of UIActivityCollaborationModeRestriction instances For supported behaviour, this array should have a maximum size of one less than the amount of possible Share Sheet modes Currently at most one object should be provided

## Declaration

```swift
static let collaborationModeRestrictions: UIActivityItemsConfigurationMetadataKey
```

## See Also

### Constants

- [title](uikit/uiactivityitemsconfigurationmetadatakey/title.md)
- [messageBody](uikit/uiactivityitemsconfigurationmetadatakey/messagebody.md)
- [linkPresentationMetadata](uikit/uiactivityitemsconfigurationmetadatakey/linkpresentationmetadata.md)
- [shareRecipients](uikit/uiactivityitemsconfigurationmetadatakey/sharerecipients.md)
