Contents

itemTitle(for:)

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

Declaration

func itemTitle(for csc: UICloudSharingController) -> String?

Discussion

Implement this method to provide a meaningful title to the UICloudSharingController invitation screen.

itemTitle(for:) is called only when creating a new share. For an existing share, the title is retrieved from the share using the CKShareTitleKey key, which is set when a new share is saved.

See Also

Configuring the view controller