Returns an initialized add payment view controller object, using the provided configuration and delegate.
- iOS 9.0+
- Mac Catalyst 13.0+
Kit (Apple Pay and Wallet)
A configuration object that defines the view controller’s appearance.
The add payment view controller’s delegate.
A newly initialized add payment view controller.
Adding payment passes requires a special entitlement issued by Apple. If your app does not include this entitlement, this method returns
nil. For more information on requesting this entitlement, see the Card Issuers section on developer.apple.com/apple-pay/.