我知道如何在本地联系人中添加标签和价值,就像这样: CFErrorRef错误;
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);
但是如何在本地联系人中添加隐藏标签和值?因为我想在我自己的应用中使用某些属性,thx
答案 0 :(得分:0)
据我所知,这是不可能的