November 2013
Intermediate to advanced
576 pages
19h 3m
English
In the preceding section, you retrieved a phone number from the contact database; however, you know it only by its index number. Although this is helpful to developers, it is next to useless for users. You will want to retrieve the label that was used in the contact database. In the next code snippet, the example from the preceding section will be expanded on.
The first step to attaining a label for a multivalue reference is to call ABMultiValueCopyLabelAtIndex. Call this function with the same parameters you used to get the value of the multivalue object. This function will return a nonlocalized string, such as "_$!<Mobile>!$_". Although this is much more helpful than a raw index number, it is still not ready ...
Read now
Unlock full access