Contents

activeOffer

The subscription offer the customer is eligible for, and that applies to the subscription option.

Declaration

var activeOffer: Product.SubscriptionOffer? { get }

Discussion

Always display the terms of this subscription offer along with your control because it represents the offer that StoreKit automatically applies when you call the subscribe() method. If the activeOffer property is nil, there’s no subscription offer.

The preferredSubscriptionOffer(_:) and subscriptionPromotionalOffer(offer:signature:) view modifiers influence the offer property.

See Also

Getting the subscription product and offer