tam nguyen tam nguyen - 12 days ago 6
Swift Question

How to get date added or edited contact with CNContact in Swift 3.0

I have array contacts fetched using CNContactStore. I want get date added to addressbook. But when using CNContactDatesKey, result allway is 0.
I hope you help.

Answer

This is not possible in the new CNContact framework, although it was possible in the addressbook framework , here is a reference, also you can try the method suggested here

Comments