removeMember(_:from:)
Removes a contact as a member of a group.
Declaration
func removeMember(_ contact: CNContact, from group: CNGroup)Parameters
- contact:
The contact to remove from the group membership.
- group:
The group to remove the contact from its membership.
Discussion
This method removes the contact from the group, but does not delete it from the contact store. This method overrides any previously made add membership request on the contact to the group.