<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKAllowedSharingOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKAllowedSharingOptions"
  },
  "title" : "CKAllowedSharingOptions"
}
-->

# CKAllowedSharingOptions

An object that controls participant access and permission options.

```
class CKAllowedSharingOptions
```

## Overview

Register an instance of this class with an <doc://com.apple.documentation/documentation/Foundation/NSItemProvider> or when preparing a [`CKShareTransferRepresentation.ExportedShare`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare) before your app invokes the share sheet. The share sheet uses the registered `CKAllowedSharingOptions` object to let the user choose between the allowed options when sharing.

## Topics

### Creating sharing options

[`-  initWithAllowedParticipantPermissionOptions:allowedParticipantAccessOptions:`](/documentation/CloudKit/CKAllowedSharingOptions/init(allowedParticipantPermissionOptions:allowedParticipantAccessOptions:))

Creates and initializes an allowed sharing options object.

### Using the standard options

[`standardOptions`](/documentation/CloudKit/CKAllowedSharingOptions/standard)

An object set to the most permissive sharing options.

### Configuring the options

[`allowedParticipantAccessOptions`](/documentation/CloudKit/CKAllowedSharingOptions/allowedParticipantAccessOptions)

The permission option the system uses to control whether a user can share publicly or privately.

[`allowedParticipantPermissionOptions`](/documentation/CloudKit/CKAllowedSharingOptions/allowedParticipantPermissionOptions)

The permission option the system uses to control whether a user can grant read-only or write access.

[`CKSharingParticipantAccessOption`](/documentation/CloudKit/CKSharingParticipantAccessOption)

An object that controls participant access options.

[`CKSharingParticipantPermissionOption`](/documentation/CloudKit/CKSharingParticipantPermissionOption)

An object that controls participant permission options.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)