Question

How can I remove the currency symbols in price text?

  • 24 July 2023
  • 5 replies
  • 64 views

Badge +4

Why the localizedPriceString shows “$9.99” in development, but shows “US$9.99” in production? 

Is there any way to remove the currency symbols? 


5 replies

Userlevel 4
Badge +6

Hey @vulgur Can you please send in screenshots of what you are seeing in development vs production?

Badge +4

Hey @vulgur Can you please send in screenshots of what you are seeing in development vs production?

There’s no US in development. 

 

But there is US before the price in production.

 

Userlevel 4
Badge +6

Is this happening in iOS 16 or 17?

Badge +4

Is this happening in iOS 16 or 17?

iOS 16

Userlevel 4
Badge +6

Hey @vulgur ,

 

This string comes directly from Apple but it is interesting that you're getting two different results like that. Are the screenshots from the same device as well? If not, can you test development and production on just one device and let me know if you are seeing the same response?

Reply