Is it possible to retrieve the create time of the iPhone contacts record?
I want to ask a question about iPhone. Is it possible to retrieve the creation time from the iPhone contacts of each record? Thank you. Yes. You want the kABPersonCreationDateProperty . See the reference . NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setTimeStyle:NSDateFormatterMediumStyle]; [dateFormatter setDateStyle:NSDateFormatterMediumStyle]; ABAddressBookRef addressBook = ABAddressBookCreate(); NSArray* allPeople = (NSArray*) ABAddressBookCopyArrayOfAllPeople( addressBook ); for( id aPerson in allPeople ) { NSString* firstName = (NSString*)