Contents

sharingService(_:didStopSharing:)

Tells the delegate when the user stops sharing the CloudKit share.

Declaration

optional func sharingService(_ sharingService: NSSharingService, didStopSharing share: CKShare)

Parameters

  • sharingService:

    The cloud-sharing service that invokes this delegate method.

  • share:

    The share the user is no longer sharing.

Discussion

The cloud-sharing service invokes this method after it deletes the share on the server. The share parameter is the most recent state of the share before the service deletes it.

See Also

Managing the Cloud-Sharing Service