PKPaymentButton.FromType(PKPaymentButtonType, PKPaymentButtonStyle) PKPaymentButton.FromType(PKPaymentButtonType, PKPaymentButtonStyle) Method

Definition

Factory method to create a new PKPaymentButton with the specified PKPaymentButtonType and PKPaymentButtonStyle.

[Foundation.Export("buttonWithType:style:")]
public static PassKit.PKPaymentButton FromType (PassKit.PKPaymentButtonType buttonType, PassKit.PKPaymentButtonStyle buttonStyle);
static member FromType : PassKit.PKPaymentButtonType * PassKit.PKPaymentButtonStyle -> PassKit.PKPaymentButton

Parameters

Returns

Applies to