Contents

discounts

An array of subscription offers available for the auto-renewable subscription.

Declaration

var discounts: [SKProductDiscount] { get }

Mentioned in

Discussion

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

For more information about offers, see Implementing promotional offers in your app, and Implementing introductory offers in your app.

See Also

Getting Pricing Information