سؤال

I can modify or create a new person in my address book, but I can't find how to add a property for the phone work number.

According to the Apple Documentation there is no property kABPersonPhoneWorkLabel. There is the work fax number (kABPersonPhoneWorkFAXLabel), but not phone work.

How can I do this?

هل كانت مفيدة؟

المحلول

Try this ones:

const CFStringRef kABWorkLabel;
const CFStringRef kABHomeLabel;
const CFStringRef kABOtherLabel;

They are at the bottom of the document you linked, at Generic Property Labels

For some reasons they are separated from the other labels.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top