Search This Blog

Tuesday, February 9, 2010

iPhone-country code and iPhone locale settings

March 19, 2009 — praveenmatanam

NSLocale *locale = [NSLocale currentLocale];
NSString *countryCode = [locale objectForKey: NSLocaleCountryCode];

NSString *countryName = [locale displayNameForKey: NSLocaleCountryCode
value: countryCode]];

No comments:

Post a Comment