I'm developing app with using of native address book. I've registered a callback to receive a notification when address book has changed externally.
ABAddressBookRegisterExternalChangeCallback(myAddrrbook, changefunction, self)
My app can make new records inside AddressBook
, to do it I'm using ABNewPersonViewController
like that:
ABNewPersonViewController *controller = [[ABNewPersonViewController alloc] init];
controller.addressBook = myAddrrbook;
The problem is, that I still receiving notifications when I using my own app like it changed somewhere else.
But when I run on the simulator, everything is OK
and no notification sent when I adding a contact.
How to avoid receiving notification on device?
Does anybody had face such problem?