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 6679883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:24:38+00:00 2026-05-26T04:24:38+00:00

I am able to create new contact using ABAddressBookRef. Is it posible to automatically

  • 0

I am able to create new contact using ABAddressBookRef. Is it posible to automatically update a particular contact with some values in database?

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-05-26T04:24:39+00:00Added an answer on May 26, 2026 at 4:24 am

    Yes, you can update a particular record from the addressbook. For that you need to know the person’s recordID and pass it to the following you will get the existing person’s record. Then set the values for the properties. If you want to change any value then first remove earlier and then set the new one. For person’s recordID if u are storing the person’s record in the same application then at that time you can keep the IDs in an array. In my application I was showing the addressbook records in tableview so while fetching them I had stored their recordIds in an array. You can refer the code below:

    ABAddressBookRef ab = ABAddressBookCreate();
    ABRecordRef newPerson = ABAddressBookGetPersonWithRecordID(ab, id);
    if(newPerson != NULL){
        if(![firstName.text isEqual:firstname]){
            ABRecordRemoveValue(newPerson, kABPersonFirstNameProperty,nil);
            ABRecordSetValue(newPerson, kABPersonFirstNameProperty,      firstName.text,nil);
        }
       }
    ABAddressBookSave(ab,nil);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am able to create a connection to a local sqlite3 database ( Using
In my windows 2003 box, I am not able to create new web applications.
I am able to create a UIImage from a Core Animation layer using the
I am able to create alternate dictation grammars using the dictation resource kit or
In the _form for creating a new Contact, I want to be able to
I am using the following code but still its not able to add contact
We are able to create new entities without any issues, but updating an existing
I'm kind of new to rss feeds, but I'm able to create a feed
You should be able to create a generic form: public partial class MyGenericForm<T> :
Has anyone been able to create Container-Specific Master Pages for Safari or Chrome? I

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.