How to get contacts added and edited dates in iPhone sdk. Give me example code it will help full for me.
Thanks in advance,
How to get contacts added and edited dates in iPhone sdk. Give me example code it will help full for me.
Thanks in advance,
It is possible to get the created and modified dates of contacts. You need to read the documentation for ABPerson, as well as the Address Book Programming Guide.
When you have a ABRecordRef, you can pull its modified and created dates by using
CFTypeRef ABRecordCopyValue (
ABRecordRef record,
ABPropertyID property
);
The ABPropertyID constants are listed in documentation for ABPerson.
const ABPropertyID kABPersonCreationDateProperty;
const ABPropertyID kABPersonModificationDateProperty