How to redirect to Wallet + check Apple Pay eligibility

Hi,


I'd like to know if the method : "isPaymentPassActivationAvailable" of "PKPassLibrary" is sufficient to check if the device can enroll a card into Apple Pay and how I can redirect to the Wallet app so the user can do so. I've found the unofficial url scheme "shoebox://" which works but could get my app rejected from the store.


Thank you.

Posted in the wrong forum.

Found a solution, the méthod "openPaymentSettings" of "PKPassLibrary" will do the trick, opening the "add payment card" page directly into the wallet app.

How to redirect to Wallet + check Apple Pay eligibility
 
 
Q