Contents

PKPaymentButton

An object that displays a button either to trigger payments through Apple Pay or to prompt the user to set up a card.

Declaration

class PKPaymentButton

Overview

After creating a PKPaymentButton object, you choose the type and style of button, and the system provides a control with the correct content and appearance. See the Human Interface Guidelines > Apple Pay for more information.

To trigger a payment through Apple Pay in a WatchKit app, use WKInterfacePaymentButton instead.

Topics

Creating payment buttons

Configuring the appearance

Initializers

See Also

Related Documentation

  • iOS Human Interface Guidelines

Apple Pay buttons