Skip to main content
Question

How can I remove the currency symbols in price text?


Forum|alt.badge.img+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

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • July 26, 2023

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


Forum|alt.badge.img+4
  • Author
  • New Member
  • 4 replies
  • July 31, 2023
Michael Fogel wrote:

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.

 


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • August 4, 2023

Is this happening in iOS 16 or 17?


Forum|alt.badge.img+4
  • Author
  • New Member
  • 4 replies
  • August 12, 2023
Michael Fogel wrote:

Is this happening in iOS 16 or 17?

iOS 16


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • August 14, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings