DefaultPurchaseDelegate

public class DefaultPurchaseDelegate : IAPPurchaseDelegate

The default implementation of IAPPurchaseDelegate if no other is provided. It is enough if you only have non-consumable and/or auto-renewable subscription products.

  • Undocumented

    Declaration

    Swift

    public init()
  • Finish the product transactions when a product is newly purchased, updated or restored.

    Declaration

    Swift

    public func productPurchased(productIdentifier: String)

    Parameters

    productIdentifier

    The identifier of the product.