如何在SKProductDiscount中查看订阅期的单位(天、周、月或年)?
How to check the units (days, weeks, months or years) of a subscription period in SKProductDiscount?
Apple 文档:
在这里我可以得到单位的数量。如何检查这些单位是天、周、月还是年?
我在苹果文档中找不到任何内容。
subscriptionPeriod
属性 是 SKProductSubscriptionPeriod
的实例。
这个class有两个属性:
numberOfUnits
unit
unit
属性 有一个枚举值,您可以使用它来确定 numberOfUnits
是指天、周、月还是年。
Apple 文档:
在这里我可以得到单位的数量。如何检查这些单位是天、周、月还是年?
我在苹果文档中找不到任何内容。
subscriptionPeriod
属性 是 SKProductSubscriptionPeriod
的实例。
这个class有两个属性:
numberOfUnits
unit
unit
属性 有一个枚举值,您可以使用它来确定 numberOfUnits
是指天、周、月还是年。