StoreKit2 miss “priceLocale ”,how to get currencyCode

StoreKit2 miss “priceLocale ”,how to get currencyCode

From displayPrice:

Use this string to display the price, formatted for the locale. The storefront that the user’s device is connected to determines the locale. For more information, see Storefront.

For instance, if you are logged into the German store, displayPrice returns the price in Euros.

StoreKit2 miss “priceLocale ”,how to get currencyCode
 
 
Q