Pritam Kadam Pritam Kadam - 1 year ago 215
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download