iosparsingaddressbookphone-number

Algorithm to determine international calling code from phone number


I'm able to retrieve contact's phone number from the device using Address Book framework on iOS. How can I separate or identify which is country code and which is actual phone number? Is it possible?


Solution

  • We cannot identify the country code from the phone number.