★ TouchArcade needs your help. Click here to support us on Patreon.

Localizing IAP currency ?

02-15-2012, 12:04 PM
Joined: Feb 2012
Location: Paris, France
Posts: 146
Localizing IAP currency ?

Howdy everyone,

Does anyone know how to deal with multiple currencies for IAP?

- I could display every price in € in-game, and the Appstore makes the conversion once the user clicks. But then US users (for inst) might think they need € and cannot pay in $, and never even notice that the conversion is made automatically
- Some apps seem to display prices in your locale's currency. But how do they deal with exchange rates then? i.e. if suddenly a 0,99$ IAP costs 1,29€ instead of 0,79€ ? (what with the Eurozone crisis and all )

Any experience?

I make games.
Twitter: NicolasG_B
02-15-2012, 04:05 PM
The currency display info should be retrieved from the IAP data returned by Apple, and then you need to localize it with NSNumberFormatter. http://stackoverflow.com/questions/7...atting-a-price