init(paymentButtonType:paymentButtonStyle:)
Creates a new payment button with the specified type and style.
Declaration
init(paymentButtonType type: PKPaymentButtonType, paymentButtonStyle style: PKPaymentButtonStyle)Parameters
- type:
The button’s content. For a complete list of button types, see Pkpaymentbuttontype.
- style:
The button’s appearance. For a complete list of button styles, see Pkpaymentbuttonstyle.
Return Value
Returns a PKPaymentButton instance with the specified type and style.