Pritam Kadam Pritam Kadam - 1 year ago 198
Objective-C Question

Alternate for ABAddressBookRegisterExternalChangeCallback

As ABAddressBookRegisterExternalChangeCallback is deprecated in iOS 9.0 and later. Is there any alternative avaiable for getting contact change or if a new contact is added in the address book. Please provide the implementation if possible in objective-c.

Answer Source

Everything in the AddressBook.framework has been deprecated in iOS 9. Apple wants you to use the Contacts.framework instead. Specifically, look at CNContactStoreDidChangeNotification defined in CNContactStore.