SKProduct

extension SKProduct
  • The format used for the localized subscription periods.

    Declaration

    Swift

    public static var localizedPeriodFormat: IAPPeriodFormat
  • Checks if the product has an introductory price the user is eligible to.

    Declaration

    Swift

    public func hasIntroductoryPriceEligible() -> Bool
  • Returns a localized string with the cost of the product in the local currency.

    Declaration

    Swift

    public var localizedPrice: String { get }
  • Returns a localized string with the period of the subscription product.

    Declaration

    Swift

    public var localizedSubscriptionPeriod: String? { get }
  • Returns a localized string with the introductory price if available, in the local currency.

    Declaration

    Swift

    public var localizedIntroductoryPrice: String? { get }
  • Returns a localized string with the introductory price period of the subscription product.

    Declaration

    Swift

    public var localizedIntroductoryPeriod: String? { get }
  • Returns a localized string with the duration of the introductory price.

    Declaration

    Swift

    public var localizedIntroductoryDuration: String? { get }