Instance Property

numberOfUnits

The number of units per subscription period.

Declaration

@property(nonatomic, readonly) NSUInteger numberOfUnits;

Discussion

A subscription period duration is calculated by multiplying the number of units by the unit.

For example, if the number of units is 3, and the unit is SKProductPeriodUnitMonth, the subscription period is 3 months.

See Also

Getting Subscription Period Details

unit

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

SKProductPeriodUnit

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