maybe this can help you
Code:
addressBook = ABAddressBookCreate();
personRecord = ABAddressBookCopyArrayOfAllPeople(addressBook);
personArray = [[NSMutableArray alloc] init];
for (int i = 0; i < CFArrayGetCount(personRecord); i++)
{
ABRecordRef personRef = (ABRecordID*)CFArrayGetValueAtIndex(personRecord, i);
ABRecordRef person = ABAddressBookGetPersonWithRecordID(addressBook, ABRecordGetRecordID(personRef));
@try
{
if (ABRecordCopyValue(person, kABPersonBirthdayProperty))
[personArray addObject: (id)personRef];
}
@catch (NSException * e)
{
}
@finally
{
}
}
with this code you can create a list ob personreference IDs
Use this code to get person informations:
Code:
NSString *FirstName = [NSString stringWithString:(NSString *)ABRecordCopyValue(aPersonRef, kABPersonFirstNameProperty)];
search for "kABPersonFirstNameProperty" in the sdk documentation to find other personal information properties