Extract email from CNContactProperty - iOS 9
The returned values are of the CNLabeledValue class. In order to get the value from them, for, say, the emails, do this
CNLabeledValue *emailValue = contactProperty.contact.emailAddresses.firstObject;
NSString *emailString = emailValue.value;
If the value you wanted a phone number, this is how you would retrieve that
CNLabeledValue *phoneNumberValue = contactProperty.contact.phoneNumbers.firstObject;
CNPhoneNumber *phoneNumber = phoneNumberValue.value;
NSString *phoneNumberString = phoneNumber.stringValue;
Because the returned value is a CNLabeledValue
, you are also able to retrieve the phone number's or email's label
NSString *emailLabel = emailValue.label; //This may be 'Work', 'Home', etc.
NSString *phoneNumberLabel = phoneNumberValue.label;