I have this code to obtain a code country, but I want to see all code country available; then I can do some "if" to implement in my app
NSLocale *locale = [NSLocale currentLocale];
NSString *countryCode = [locale objectForKey: NSLocaleCountryCode];
NSLog(@"countryCode:%@", countryCode);
can you help me?
Run this code to see all available localizers:
You can do the same thing for
commonISOCurrencyCodes
,ISOCountryCodes
,ISOCurrencyCodes
,ISOCurrencyCodes
,preferredLanguages
.