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>.ExportedShareParameters
- share:
The existing Ckshare object.
- container:
The Ckcontainer for the share.
- allowedSharingOptions:
The Ckallowedsharingoptions. The Standard option is the default.
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.