Contents

isPaymentPassActivationAvailable()

Returns a Boolean value that indicates whether the device supports adding payment passes.

Declaration

func isPaymentPassActivationAvailable() -> Bool

Return Value

true if the device supports adding payment passes.

Discussion

Activating payment passes requires a special entitlement from Apple. If the entitlement isn’t present, this method returns false. For more information about requesting this entitlement, see developer.apple.com/apple-pay/.

See Also

Deprecated Methods