here is my Code to create a new Group in the Adress Book:
ABRecordRef group = ABGroupCreate(); //create a group
ABRecordSetValue(group, kABGroupNameProperty,@"My Group", nil); // set group's name
ABGroupAddMember(group, person, nil); // add the person to the group
ABAddressBookAddRecord(addressBook, group, nil); // add the group
BUT how i can delete this Group (and other) programmaticaly from my App ? Any sample Code ?
Thanks a lot! Best regards
There is a Sample Project ABUIGroups that shows you how to do this.
It uses this method: