SKPayment.CreateFrom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateFrom(SKProduct) | |
| CreateFrom(String) |
CreateFrom(SKProduct)
[Foundation.Export("paymentWithProduct:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static StoreKit.SKPayment CreateFrom(StoreKit.SKProduct product);
[<Foundation.Export("paymentWithProduct:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateFrom : StoreKit.SKProduct -> StoreKit.SKPayment
Parameters
- product
- SKProduct
Returns
- Attributes
Applies to
CreateFrom(String)
[Foundation.Export("paymentWithProductIdentifier:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static StoreKit.SKPayment CreateFrom(string identifier);
[<Foundation.Export("paymentWithProductIdentifier:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateFrom : string -> StoreKit.SKPayment
Parameters
- identifier
- String
Returns
- Attributes