custom(key:value:)
Adds a Boolean value for a custom key to a purchase.
Declaration
static func custom(key: String, value: Bool) -> Product.PurchaseOptionParameters
- key:
The key for this custom option.
- value:
The Boolean value you assign to this custom option.
Discussion
This custom purchase option doesn’t have any effect.