Enumeration

PKPassLibraryAddPassesStatus

Statuses used when adding passes to the pass library.

Declaration

enum PKPassLibraryAddPassesStatus : Int

Topics

Constants

case didAddPasses

Status used when passes were successfully added.

case shouldReviewPasses

Status used when the app should display the UI to let the user review the passes.

case didCancelAddPasses

Status used when the user canceled and the passes were not added.

See Also

Adding and Removing Passes

func canAddFelicaPass() -> Bool

Returns a Boolean value that indicates whether the library can add Felica passes.

func removePass(PKPass)

Removes the pass from the user’s pass library.

func replacePass(with: PKPass) -> Bool

Replaces a pass in the user’s pass library with the given pass.