Instance Property


An array of subscription offers available for the product.


var discounts: [SKProductDiscount] { get }


The discounts array contains all of the subscription offers that you set up in App Store Connect for this product (productIdentifier). It's up to the logic in your app to decide which offer to present to the user.

For more information, see Implementing Subscription Offers in Your App.

See Also

Getting Pricing Information

var price: NSDecimalNumber

The cost of the product in the local currency.

var priceLocale: Locale

The locale used to format the price of the product.

var introductoryPrice: SKProductDiscount?

The object containing introductory price information for the product.

class SKProductDiscount

The details of a discount offer for a subscription product.