Instance Property


The period details for products that are subscriptions.


var subscriptionPeriod: SKProductSubscriptionPeriod? { get }


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.