registerCKShare(_:container:allowedSharingOptions:)
Registers an existing collaboration object on a server.
Declaration
func registerCKShare(_ share: CKShare, container: CKContainer, allowedSharingOptions: CKAllowedSharingOptions = CKAllowedSharingOptions.standard)Parameters
- share:
An existing Ckshare on the server.
- container:
A Ckcontainer the system uses to coordinate all the interactions between your app and the server.
- allowedSharingOptions:
The Ckallowedsharingoptions. The standard option is the default.
Discussion
Use this method when a CKShare currently exists on the server. When the system invokes the share sheet with a CKShare that you register with this method, it allows the owner to make modifications to the share settings, and allows a participant to view the share settings.