¡@

Home 

2014/10/15 ¤U¤È 10:12:34

iphone Programming Glossary: phonenumbermultivalue

How to create contacts in address book in iPhone SDK?

http://stackoverflow.com/questions/5377441/how-to-create-contacts-in-address-book-in-iphone-sdk

the phone number to add Phone number is a list of phone number so create a multivalue ABMutableMultiValueRef phoneNumberMultiValue ABMultiValueCreateMutable kABPersonPhoneProperty ABMultiValueAddValueAndLabel phoneNumberMultiValue phone kABPersonPhoneMobileLabel.. phoneNumberMultiValue ABMultiValueCreateMutable kABPersonPhoneProperty ABMultiValueAddValueAndLabel phoneNumberMultiValue phone kABPersonPhoneMobileLabel NULL ABRecordSetValue person kABPersonFirstNameProperty @ FirstName nil first name of the.. person kABPersonLastNameProperty @ LastName nil his last name ABRecordSetValue person kABPersonPhoneProperty phoneNumberMultiValue anError set the phone number property ABAddressBookAddRecord addressBook person nil add the new person to the record ABRecordRef..

How to save contact info from vCard into iPhone's Contacts App

http://stackoverflow.com/questions/8132326/how-to-save-contact-info-from-vcard-into-iphones-contacts-app

the phone number to add Phone number is a list of phone number so create a multivalue ABMutableMultiValueRef phoneNumberMultiValue ABMultiValueCreateMutable kABPersonPhoneProperty ABMultiValueAddValueAndLabel phoneNumberMultiValue phone kABPersonPhoneMobileLabel.. phoneNumberMultiValue ABMultiValueCreateMutable kABPersonPhoneProperty ABMultiValueAddValueAndLabel phoneNumberMultiValue phone kABPersonPhoneMobileLabel NULL ABRecordSetValue person kABPersonFirstNameProperty @ FirstName nil first name of the.. person kABPersonLastNameProperty @ LastName nil his last name ABRecordSetValue person kABPersonPhoneProperty phoneNumberMultiValue anError set the phone number property ABAddressBookAddRecord addressBook person nil add the new person to the record ABRecordRef..