CNContact last modified date and contacts changed

非 Y 不嫁゛ 提交于 2019-12-05 03:33:25

According to the Apple Staff reply, no api for that right now. https://forums.developer.apple.com/thread/16049

To perform nearly the same thing, I would suggest using

enumerateContactsWithFetchRequest:error:usingBlock:

Assuming an individual contact is identified by name, when the name field remain the same but other infos are changed, we can say the contact is updated. If you concern about the performance, do it on a background queue.

Hope this help.

I have checked out CNContact framework for iOS 12, but I can't find API like kABPersonModificationDateProperty

https://developer.apple.com/documentation/contacts/cncontact?language=objc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!