IAPPeriodFormat

public enum IAPPeriodFormat

The format used for the localized subscription periods.

  • Remove the number of units if it is equal to 1. Ex: if the period is “1 month”, the returned period will be “month”.

    Declaration

    Swift

    case short
  • The period will be returned with the number and the unit. Ex: “1 month”.

    Declaration

    Swift

    case long