Contents

numberOfUnits

The number of units per subscription period.

Declaration

var numberOfUnits: Int { get }

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

See Also

Getting Subscription Period Details