Class

PKAddPassesViewController

The PKAddPassesViewController class lets your app show a pass and prompt the user to add that pass to the pass library.

Overview

To add multiple passes without presenting this view controller multiple times, use the addPasses:withCompletionHandler: method of PKPassLibrary.

Symbols

Working with Add-Passes View Controllers

class func canAddPasses()

Returns whether the device supports adding passes.

init(pass: PKPass)

Initializes and returns a newly created add-passes view controller with a single pass.

init(passes: [PKPass])

Initializes and returns a newly created add-passes view controller with an array of passes.

var delegate: PKAddPassesViewControllerDelegate?

The view controller’s delegate.