Contents

publicPermission

The permission for anyone with access to the share’s URL.

Declaration

var publicPermission: CKShare.ParticipantPermission { get set }

Discussion

Setting this property’s value to be more permissive than CKShare.ParticipantPermission.none allows any user with the share’s URL to join. CloudKit removes all public participants when you save the share if you set the property’s value to CKShare.ParticipantPermission.none.

The default value is CKShare.ParticipantPermission.none

See Also

Configuring the Share