Reputation: 591
We are using Stripe gateway for Apple Pay integration. It provides way to check if Apple Pay configured on device, but I'm curious if it is possible to show a kind of system dialog asking to configure Apple Pay. Opening system preferences (ex. How to open Settings programmatically like in Facebook app?) will also do, though I'm not sure if it's the allowed approach, and the app will not be banned by Apple.
Thanks.
Upvotes: 0
Views: 739
Reputation: 31304
PKAddPaymentPassController
is intended for banks who want to add their own cards directly to Apple Pay. You won't be able to use it for what you're intending.
Instead you should use PKPassLibrary -openPaymentSetup
, which will allow you to open the Apple Pay setup flow (either in Wallet on iPhone, or Settings on iPad).
Upvotes: 2