cloudShare(for:)

Returns the Cloud share object that corresponds to the specified item, if one exists.

Declaration

@MainActor func cloudShare(for item: any NSValidatedUserInterfaceItem) -> CKShare?