How to get ISOCurrencyCode from a ISOCountryCode in iphone sdk?
I have the ISOCountryCode avaliable and now i want to derive the currencyCode of this country from the ISOCountryCode. How can i achieve that? NSString *countryCode = < get from someother view>; NSString *currencyCode = ?; I receive this country code from some other view on runtime? You will need to use NSLocale. To retrieve the currency code from a specific country code: NSString *countryCode = @"US"; NSDictionary *components = [NSDictionary dictionaryWithObject:countryCode forKey:NSLocaleCountryCode]; NSString *localeIdent = [NSLocale localeIdentifierFromComponents:components]; NSLocale