Wednesday 25 November 2015

How To Udr NSLocal Country name Ios/iphone

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

NSLocale *usLocale = [[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]

 autorelease];

NSString *country = [usLocale displayNameForKey: NSLocaleCountryCode value:

 countryCode];