Instance Method

cloudSharingControllerDidSaveShare(_:)

Tells the delegate that the CloudKit sharing controller saved the share record.

Declaration

optional func cloudSharingControllerDidSaveShare(_ csc: UICloudSharingController)

Discussion

Implement this method to receive a notification from the UICloudSharingController instance after it saves changes to the CKShare record.

See Also

Processing Shared Items

func cloudSharingController(UICloudSharingController, failedToSaveShareWithError: Error)

Tells the delegate that the CloudKit sharing controller failed to save the share record.

Required.

func cloudSharingControllerDidStopSharing(UICloudSharingController)

Tells the delegate that the user has stopped sharing the record.