Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9160017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:38:07+00:00 2026-06-17T13:38:07+00:00

I have too much code to post here so I was wondering if I

  • 0

I have too much code to post here so I was wondering if I could get some code sample regarding iPhone address-book frame work to get an idea.

currently when I pick up phone number from address book, I show actual phone number in the text control as follows:

UI Mock

Question: Is it possible for me to just show actual full name in the control but behind the scenes be able to capture phone number from the control.

enter image description here

I would very much appreciate the sample code that deals with iPhone address-book framework.
Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:38:08+00:00Added an answer on June 17, 2026 at 1:38 pm

    I think you might be already using code something like below:
    Once you get the ID of the person from address book,

    ABAddressBookRef addressBook = ABAddressBookCreate();
    ABRecordRef recordRef = ABAddressBookGetPersonWithRecordID(addressBook,ID);
    ABMutableMultiValueRef emailMultiValue = ABRecordCopyValue(recordRef, kABPersonPhoneProperty);
    

    where ID is the record id from address book.

    You can get the name by:

    NSString *firstName = (NSString *)ABRecordCopyValue(recordRef, kABPersonFirstNameProperty);
    NSString *lastName = (NSString *)ABRecordCopyValue(recordRef, kABPersonLastNameProperty);
    

    So now you have the name and number. And you can just show actual full name in the control but behind the scenes you can capture phone number from the control.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Its too much code to paste here so, I have created demo please have
I have code blindness, it's like snowblindness, just wth far too much code. I
I have a large library of code which has a few (much too few)
I don't have too much experience on iphone screen designs but I need to
I have an ASP.NET app, very basic, but right now too much code to
How much code documentation in your .NET source is too much? Some background: I
I have spent way too much time looking for the files owner icon to
Q1: Is there something like too much ajax?? Explanation: I have been seeing programmers
I have written a tool tip snippet, its throwing error like TOO MUCH RECURSION
I have too many images to be download from net into iPhone? How can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.