Contents

currency

The currency of the subscription’s renewal price.

Declaration

@backDeployed(before: iOS 18.0, macOS 15.0, tvOS 18.0, watchOS 11.0, visionOS 2.0)
var currency: Locale.Currency? { get }

Discussion

The currency value applies to the product’s renewalPrice instance.

Don’t use currency to infer the storefront. Use the storefront value in the transaction instead.

To access the renewal price currency on systems earlier than iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9, use currencyCode.

See Also

Getting the renewal price and currency