Class

PKAddPaymentPassViewController

Displays an interface that lets users add cards to Apple Pay from within your app.

Declaration

@interface PKAddPaymentPassViewController : UIViewController

Overview

Topics

Determining if Payment Passes Can Be Added

+ canAddPaymentPass

Returns a Boolean value that indicates whether the app can add cards to Apple Pay.

Working with Add Payment View Controllers

delegate

The object that acts as the delegate for the add payment view controller.

PKAddPaymentPassViewControllerDelegate

Methods that let the system prompt you for an add payment request, and inform you when a request has succeeded or failed.

Creating an Add-Payment-Pass View Controller

- initWithRequestConfiguration:delegate:

Returns an initialized add payment view controller object, using the provided configuration and delegate.

PKAddPaymentPassRequestConfiguration

Contains the configuration data needed to instantiate a new PKAddPaymentPassViewController object.

Relationships

Inherits From

See Also

Wallet Availability

PKAddPassesViewController

Lets your app show a pass and prompt the user to add that pass to the pass library.