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

buttonType
PKPaymentButtonType
buttonStyle
PKPaymentButtonStyle

Returns

Attributes

Applies to