Instance Method

removeParticipant(_:)

Removes a participant from the share.

Declaration

func removeParticipant(_ participant: CKShare.Participant)

Parameters

participant

The participant to be removed from this share.

Discussion

To modify the list of participants, a share must have publicPermission set to CKShare_Participant_Permission.none. You cannot mix and match private users and public users in the same share. Only certain participant types may be added via this API; see CKShare.Participant.

See Also

Configuring the Share Object

var publicPermission: CKShare_Participant_Permission

Definition of permissions new users joining this share will have initially.

func addParticipant(CKShare.Participant)

Adds a participant to this share.