Instance Property

unit

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

Declaration

@property(nonatomic, readonly) SKProductPeriodUnit unit;

Discussion

The units used to specify a subscription period include day, week, month, and year, as defined in SKProductPeriodUnit.

To calculate the duration of one subscription period, multiply the unit by the number of units (numberOfUnits).

See Also

Getting Subscription Period Details

numberOfUnits

The number of units per subscription period.

SKProductPeriodUnit

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