custom(key:value:)
Adds a number for a custom key to a purchase.
Declaration
static func custom(key: String, value: Double) -> Product.PurchaseOptionParameters
- 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.