Can NSLocale's NSLocaleCountryCode key be directly mapped to a TLD?
Posted
by eaigner
on Stack Overflow
See other posts from Stack Overflow
or by eaigner
Published on 2010-06-02T14:01:57Z
Indexed on
2010/06/02
14:03 UTC
Read the original article
Hit count: 281
objective-c
|cocoa
Hi,
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
© Stack Overflow or respective owner