Provides a button that is used either to trigger payments through Apple Pay or to prompt the user to set up a card.
- iOS 8.3+
- Mac Catalyst 13.0+Beta
Kit (Apple Pay and Wallet)
After creating a
PKPayment 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