PhoneNumberKit determines the defaultRegionCode by accessing CNContactsUserDefaults, which returns "US" for my device, but I am attempting to parse a Chilean number (i.e., 56 XXX XXX XXX), and thus it fails. Is there a way around this behavior to parse international numbers from a US device? I do not know the region of the international number beforehand.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
PhoneNumberKit
determines thedefaultRegionCode
by accessingCNContactsUserDefaults
, which returns "US" for my device, but I am attempting to parse a Chilean number (i.e., 56 XXX XXX XXX), and thus it fails. Is there a way around this behavior to parse international numbers from a US device? I do not know the region of the international number beforehand.