Contents

add(_:toContainerWithIdentifier:)

Adds a group to the contact store.

Declaration

func add(_ group: CNMutableGroup, toContainerWithIdentifier identifier: String?)

Parameters

  • group:

    The group to add.

  • identifier:

    The identifier of the container to add the new group. To add the new group to the default container, set identifier to nil.

Discussion

This method overrides any previously made delete request for the group.

See Also

Saving group changes