Lets your app show a pass and prompt the user to add that pass to the pass library.
On This Page
To add multiple passes without presenting this view controller multiple times, use the addPasses(_:withCompletionHandler:) method of PKPassLibrary.
class func canAddPasses()
Returns whether the device supports adding passes.
var delegate: PKAddPassesViewControllerDelegate?
The view controller’s delegate.
Methods that an add-passes view controller’s delegate implements.
Initializes and returns a newly created add-passes view controller with a single pass.
Initializes and returns a newly created add-passes view controller with an array of passes.
Displays an interface that lets users add cards to Apple Pay from within your app.