0

I am implementing Apple Pay as a card issuer. I am having troubles using new function in PKPassLibrary(tested on real devices)

@available(iOS 13.4, *)
open var isSecureElementPassActivationAvailable: Bool { get }

It seems to always return false. For older version I use isPaymentPassActivationAvailable() which is working fine, but the problem is, that it is deprecated for newer versions.

Does anyone have a solution, besides opting to use the deprecated call?

EDIT

Another option is to use PKAddPaymentPassViewController.canAddPaymentPass() which seems to be working fine

iamin
  • 66
  • 4

1 Answers1

0

You could use isSecureElementPassActivationAvailable.

Kasra Babaei
  • 300
  • 1
  • 3
  • 12