title: How do I read phonebook number labels?
body: <p>I know how to get the phone number from an <code>ABRecordRef</code>, but what I want now is to also get the type of the number, i.e. its label as a string:</p>
  
  <pre><code>const CFStringRef kABPersonPhoneIPhoneLabel;
  const CFStringRef kABPersonPhoneMainLabel;
  const CFStringRef kABPersonPhoneHomeFAXLabel;
  const CFStringRef kABPersonPhoneWorkFAXLabel;
  const CFStringRef kABPersonPhonePagerLabel;
  </code></pre>
  
  <p>Here is how I get the numbers:</p>
  
  <pre><code>//get all phone numbers                   
  NSArray *phoneNumbersArray = (NSArray*)ABMultiValueCopyArrayOfAllValues(phoneNumberProperty);
  NSInteger numbersCounter = 0;
  for(numbersCounter = 0; numbersCounter &lt; [phoneNumbersArray count]; numbersCounter++)
  {
       NSString currentPhoneNumber = [phoneNumbersArray objectAtIndex:indexPhoneNumber];
  
        // here i would like to read the type of phone number 
        // NSLog(@"NumberType:%@",numberType);                    
   }
  </code></pre>
  
  <p>I tried all sorts of things and I've read the <a href="http://developer.apple.com/library/ios/#documentation/AddressBook/Reference/ABPersonRef_iPhoneOS/Reference/reference.html" rel="nofollow">ABPerson Reference</a> and I don't know how to get the phone number type?</p>