Hello,
Upon registration to be able to localise the App for the users I am requesting the countryCode
:
(Locale.current as NSLocale).object(forKey: NSLocale.Key.countryCode) as? String
Most of the values are the one expected ("US"
, "GB"
, "DE"
, ...), however in some cases I have numeric country codes like "419"
or "241"
.
I wanted to know if this was expected and how I can make them fallback to the regular country code that are none numeric.
Thank you