I want to find out the currency locale on user\'s iphone programmatically. That means, if user is in US Store, the currency locale should be USD, for Australia, it should be
Matthias Bauch answer in swift:
var formatter = NSNumberFormatter() formatter.numberStyle = NSNumberFormatterStyle.CurrencyStyle formatter.locale = product!.priceLocale var currencyString = "\(formatter.stringFromNumber(product!.price)!)"