0

I know how to add a label&value into a local contact,just like this: CFErrorRef error;

ABMultiValueRef ref = ABRecordCopyValue(self.record, kABPersonPhoneProperty);
ABMutableMultiValueRef copyOfRef = ABMultiValueCreateMutableCopy(ref);

ABMultiValueAddValueAndLabel(copyOfRef, (CFStringRef)account, kABPersonPhoneMobileLabel, NULL);
ABRecordSetValue(self.record, kABPersonPhoneProperty, copyOfRef, &error);

ECP4iPhoneAppDelegate *appDelegate = (ECP4iPhoneAppDelegate *) [[UIApplication sharedApplication] delegate];
ABAddressBookSave([appDelegate.gLABAddressBook addressBook], &error);

CFRelease(copyOfRef);
CFRelease(ref);

But how could I add a hidden label and value into a local contact?Because I wanna use some properties in my own app,thx

user392412
  • 743
  • 12
  • 18

1 Answers1

0

So it is impossible as far as I know

user392412
  • 743
  • 12
  • 18