Instance Property

subscriptionPeriod

The period details for products that are subscriptions.

Declaration

var subscriptionPeriod: SKProductSubscriptionPeriod? { get }

Discussion

This read-only property is nil if the product is not a subscription.

A subscription period is described in terms of a unit and the number of units that make up a single period.

See Also

Getting Subscription Information

var subscriptionGroupIdentifier: String?

The identifier of the subscription group to which the subscription belongs.

class SKProductSubscriptionPeriod

An object containing the subscription period duration information.

enum SKProduct.PeriodUnit

Values representing the duration of an interval, from a day up to a year.