Type Method

endAutomaticPassPresentationSuppression(withRequestToken:)

Reenables the automatic display of the Apple Pay interface.

Declaration

class func endAutomaticPassPresentationSuppression(withRequestToken requestToken: PKSuppressionRequestToken)

Parameters

requestToken

The token you received when you called the PKPassLibrary method. If you pass in an invalid request token, the system ignores the end request.

Discussion

This method reenables the automatic presentation of Apple Pay passes when the device detects a compatible reader.

See Also

Suppressing Automatic Pass Presentation

class func isSuppressingAutomaticPassPresentation() -> Bool

Returns a Boolean value that indicates whether the system is suppressing the automatic presentation of Apple Pay passes.

enum PKAutomaticPassPresentationSuppressionResult

The result of an attempt to suppress automatic pass presentation.

typealias PKSuppressionRequestToken

A token representing a request to suppress the automatic presentation of payment passes.