Instance Property


The number of units per subscription period.


var numberOfUnits: Int { get }


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 SKProduct.PeriodUnit.month, the subscription period is 3 months.

See Also

Getting Subscription Period Details

var unit: SKProduct.PeriodUnit

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

enum SKProduct.PeriodUnit

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