Using the new Contacts Framework in iOS 9, how can I get the contact creation date?
In previous versions, using the Address Book Framework, you could do:
ABRecordRef person = ...
NSDate *creationDate = (__bridge_transfer NSDate *)ABRecordCopyValue(person, kABPersonCreationDateProperty);
but using the new framework I didn't find any property on CNContact
nor any "key" to be able to get this value.
Friend, definitely accessing that property with him
Contacts Framework
is impossible, since it does not exist. The only way is using theABF
or a wrapper ofABF
likeAPAddressBook
. Maybe if you generate a ticket toApple
you can report the problem since it is not the only one.