PKPassLibrary
Provides an interface to the user’s library of passes.
Declaration
class PKPassLibraryOverview
The PKPassLibrary isn’t thread-safe. Use instances of this class only on a single thread.
Topics
Accessing passes
isPassLibraryAvailable()passes()passes(of:)pass(withPassTypeIdentifier:serialNumber:)containsPass(_:)serviceProviderData(for:completion:)remoteSecureElementPasses
Automatically adding passes
requestAuthorization(for:completion:)PKPassLibrary.AuthorizationStatusPKPassLibrary.CapabilityaddPasses(_:withCompletionHandler:)
Adding passes
canAddSecureElementPass(primaryAccountIdentifier:)canAddFelicaPass()addPasses(_:withCompletionHandler:)PKPassLibraryAddPassesStatus
Managing passes
isSecureElementPassActivationAvailableactivate(_:activationData:completion:)replacePass(with:)removePass(_:)
Presenting and suppressing passes
present(_:)isSuppressingAutomaticPassPresentation()requestAutomaticPassPresentationSuppression(responseHandler:)PKAutomaticPassPresentationSuppressionResultendAutomaticPassPresentationSuppression(withRequestToken:)PKSuppressionRequestToken