Instance Property

share

A reference to the CloudKit share record used by the CloudKit sharing controller.

Declaration

var share: CKShare? { get }

Discussion

This property provides a reference to the CKShare record used by UICloudSharingController. The property is nil if the controller does not have a share record. This can happen when the controller is initialized with the init(preparationHandler:) method and the preparation handler has not yet been called.