Contents

existing(_:container:allowedSharingOptions:)

Allows the user to view or make modifications to the share settings.

Declaration

static func existing(_ share: CKShare, container: CKContainer, allowedSharingOptions: CKAllowedSharingOptions = CKAllowedSharingOptions.standard) -> CKShareTransferRepresentation<Item>.ExportedShare

Parameters

Return Value

The CKShareTransferRepresentation.ExportedShare with updated share settings.

Discussion

Use this method when you have a CKShare that’s already saved to the server.

When your app invokes the share sheet with a CKShare registered with this method, the system allows the owner to make modifications to the share settings, or allows a participant to view the share settings.

See Also

Preparing an exported share