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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software