Statuses used when adding passes to the pass library.


enum PKPassLibraryAddPassesStatus : Int



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.