Contents

removeParticipant(_:)

Removes a participant from the share.

Declaration

func removeParticipant(_ participant: CKShare.Participant)

Parameters

  • participant:

    The participant to remove from the share.

Discussion

To modify the list of participants, a share’s publicPermission must be CKShare.ParticipantPermission.none. You can’t mix and match public and private users in the same share. You can only add certain participant types with this API. See CKShare.Participant for more information.

See Also

Configuring the Share