title: Objective-C – ABMultiValueRef get type (ABAddressBook)
body: <p>I'm trying to figure out what kind (home, mobile, fax and so on) of phone number but I can't figure out how to do it with the <code>ABMultiValueRef</code>. I can get the types by doing:</p>
  
  <pre><code>CFStringRef cfLabel = ABMultiValueCopyLabelAtIndex(multiValueRef, i);
  
  NSString *label = (__bridge NSString*) cfLabel;
  
  NSLog(@"%@", label); // prints i.e "_$!&lt;Mobile&gt;!$_"
  
  CFRelease(cfLabel);
  </code></pre>
  
  <p>So while it prints <code>_$!&lt;Mobile&gt;!$_</code> I can do some IF-logic to check if the label equals <code>_$!&lt;Mobile&gt;!$_</code> but what about in the future if Apple decides to change the value of the Mobile label? For me it would feel so much better to have a constant I can check against. But I can't find any to use?</p>