Can anyone please provide me with a few lines of code i can use to add contacts into iphone without using the UI controls.There have been a few answers stating its simplicity but none has mentioned a few steps to do.Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
ABAddressBookRef addressBook = ABAddressBookCreate();.ABRecordRef person = ABPersonCreate();.ABRecordSetValue(person, kABPersonFirstNameProperty, CFSTR("Katie"), &anError);.ABAddressBookAddRecord().ABAddressBookSave().CFRelease(addressBook);.