[Resolved] Displaying local price and currency symbol ?

Just implementing IAP for the first time on iOS and was wondering how people are displaying the price of IAP and are you using a currency symbol ?

Been looking at loads of apps on my iPad and everyone seems to be doing it differently (am based in the UK) -

Some are displaying a pound sign (great I know the price in my currency)
Some are displaying a dollar sign (not sure if the amount is dollars or pounds)
Some are not displaying a symbol at all (no idea on currency but am presuming pounds)

I get the prices from Apple, so I am presuming they will always be in local currency.

I would love to display the currency symbol but where do I get it from ?

Dave [import]uid: 117617 topic_id: 33453 reply_id: 333453[/import]

Hello
i dont display my price
i just say unlock full game ?

the apple default dialog will display the price with the right currency
so when i change the price no code changes is needed

But if you want to display it before user taps buy
the i think the
currentItem.price (see code here http://developer.coronalabs.com/reference/in-app-purchases)
will display the price and currency

[import]uid: 147488 topic_id: 33453 reply_id: 132909[/import]

Am selling coins so would like to show the price.

Just found a localizedPrice field that comes back with the product list, so just trying that.

Dave [import]uid: 117617 topic_id: 33453 reply_id: 132910[/import]

yes, use the .localizedPrice property! [import]uid: 90610 topic_id: 33453 reply_id: 132913[/import]

Cheers, all working and showing the currency symbol.

Dave [import]uid: 117617 topic_id: 33453 reply_id: 132914[/import]

Hello
i dont display my price
i just say unlock full game ?

the apple default dialog will display the price with the right currency
so when i change the price no code changes is needed

But if you want to display it before user taps buy
the i think the
currentItem.price (see code here http://developer.coronalabs.com/reference/in-app-purchases)
will display the price and currency

[import]uid: 147488 topic_id: 33453 reply_id: 132909[/import]

Am selling coins so would like to show the price.

Just found a localizedPrice field that comes back with the product list, so just trying that.

Dave [import]uid: 117617 topic_id: 33453 reply_id: 132910[/import]

yes, use the .localizedPrice property! [import]uid: 90610 topic_id: 33453 reply_id: 132913[/import]

Cheers, all working and showing the currency symbol.

Dave [import]uid: 117617 topic_id: 33453 reply_id: 132914[/import]