I need to export contacts phone numbers from the user address book to a remote server.
My server expecting a normalized phone number,
for example if I get contact number: (541) 754-3010
the normalized number should be: 5417543010
my question is about the country code, I want to detect if a number already include a country code and if not to set it myself.
It would be nice if I could query the ABRecordRef
to know if a country code exists, but I don't think I can.
Any ideas?