I want to get the country code and phone number from CNContact on iOS 9. I tried many things but couldn\'t find a way. The best result I achieved is printing:
To get Country code you can use this:
(contact.phoneNumbers[0].value ).value(forKey: "countryCode") as! String
in for loop, and key; "digits" is to get full phone number.