Checking if any contact in contact app has been changes (Swift)

526 views Asked by At

Right now I build an app that provide sync contacts. For that, every time the app comeback to foreground, I check all contacts(CNContact) and compare to my contact in app's core data and detect if any contact that different and merge the data. It works okay but it takes a lot of memory.

Is that any way to detect if any contact in contact app has changed without comparing all contact?

0

There are 0 answers