http://developer.apple.com/library/ios/#samplecode/QuickContacts/Introduction/Intro.html
Get the email id :
ABMultiValueRef emails = (ABMultiValueRef) ABRecordCopyValue(person, kABPersonEmailProperty);
NSString *emailID = (NSString *)ABMultiValueCopyValueAtIndex(emails, 0);
First name :
(NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty);
Get the email id :
ABMultiValueRef emails = (ABMultiValueRef) ABRecordCopyValue(person, kABPersonEmailProperty);
NSString *emailID = (NSString *)ABMultiValueCopyValueAtIndex(emails, 0);
First name :
(NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty);
Comments
Post a Comment