I was learning the addressbook framework and then I wanted to delete the record from the the iPhone contact book. I checked up the documentation and found a function called ABAddressBookRemoveRecord
, but I can't find out a way to delete the records, like the user will select a record and then hit the delete button and then the record will get deleted.
All I did till now is banged my head over the documentation and that's all.
Can you please provide me a link or an example how to delete a record in the address book?
Thank You!
Check out the ABPersonViewController+Delete category which enables contact deletion without using any private methods: