The code below is a snip of how we pull data out of contacts from a btn in our application and insert into a UILabel.(just like the example in the apple documentation) Pretty straight forward. How is the same thing done to pull the phone number out? We can pull the first & last name, but not the number....I'm sure it's very similar....Can't locate the answer though. Any help would be appreciated.
NSString* name = (NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty);
self.firstName.text = name;
[name release];
Thank you.
NSString* name = (NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty);
self.firstName.text = name;
[name release];
Thank you.