1

I have implemented an iPhone app..

in that i have two options 1. Send SMS 2.Send email in a page.

I implemented both functionalities and

Implemented code to get address book when taping on contacts text fields or on a discloser button.

enter image description here

From hte addresss book user can pick the contact and it will be displayed in the text field.

Now i need to display the selected contact person name as well along with the number in the text filed.

as follows for name DAVID

enter image description here

How

user1645721
  • 653
  • 2
  • 8
  • 18

1 Answers1

0

if you have the person as ABRecordRef => if not please just show me your code to help you =>

then you could just do something like:

NSString* compositeName = (NSString *)ABRecordCopyCompositeName((ABRecordRef)record);

to get the compositeName. Its a human friendly composite name.

Kordi
  • 2,405
  • 1
  • 14
  • 13