Contents

custom(key:value:)

Adds a number for a custom key to a purchase.

Declaration

static func custom(key: String, value: Double) -> Product.PurchaseOption

Parameters

  • key:

    The key for this custom option.

  • value:

    The numerical value you assign to this custom option.

Discussion

This custom purchase option doesn’t have any effect.

See Also

Setting custom purchase options