Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top