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
identifiertonil.
Discussion
This method overrides any previously made delete request for the group.