Enumeration

SKProductPeriodUnit

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

Declaration

typedef enum SKProductPeriodUnit : NSUInteger {
    ...
} SKProductPeriodUnit;

Overview

The period unit represents the duration of an interval. Period units are used with the number of units to determine one period in SKProductSubscriptionPeriod.

Topics

Period Units

SKProductPeriodUnitDay

An interval lasting one day.

SKProductPeriodUnitMonth

An interval lasting one month.

SKProductPeriodUnitWeek

An interval lasting one week.

SKProductPeriodUnitYear

An interval lasting one year.

See Also

Getting Subscription Information

subscriptionGroupIdentifier

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

subscriptionPeriod

The period details for products that are subscriptions.

SKProductSubscriptionPeriod

An object containing the subscription period duration information.

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