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 Period Details

numberOfUnits

The number of units per subscription period.

unit

The increment of time that a subscription period is specified in.