in my app i need to open a website with the corresponding TLD for that country. Lets say google.com, google.de, etc…
But i don’t know which country codes the’re specifically using in NSLocale’s dict. Can i assume that the lowercase version of NSLocaleCountryCode can be appended as TLD?
Regards, Erik
From Locales Programming Guide:
ISO 3166-1 is not equivalent to top level domains, at least not in all cases. For instance: .co.uk ≠ GB
On the other hand, there are only six or so exceptions. See the Wikipedia entry.