Protocol

UICloudSharingControllerDelegate

The protocol you implement to provide additional information to, and receive notifications from, the CloudKit sharing controller.

Overview

Implement an object that conforms to the UICloudSharingControllerDelegate protocol when you want to:

Topics

Configuring the View Controller

itemTitleForCloudSharingController:

Asks the delegate for the title to display on the invitation screen.

Required.

itemTypeForCloudSharingController:

Asks the delegate for the Uniform Type Identifier (UTI) of the item.

itemThumbnailDataForCloudSharingController:

Asks the delegate for the thumbnail image data to display on the invitation.

Processing Shared Items

cloudSharingController:failedToSaveShareWithError:

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

Required.

cloudSharingControllerDidStopSharing:

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

cloudSharingControllerDidSaveShare:

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

Relationships

Inherits From

See Also

Customizing the Cloud Sharing Controller Behavior

delegate

A reference to an object that conforms to the CloudKit sharing controller delegate protocol.