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
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
Setting up payments
Signing data
Receiving notifications
Deprecated
Instance Methods
authorizationStatus(for:)encryptedServiceProviderData(for:completion:)openPaymentSetup(merchantIdentifier:)passes(withReaderIdentifier:)requestAuthorization(for:completion:)