Экран кошелька Apple Pay (PKAddPaymentPassViewController) не открывается - PullRequest
0 голосов
/ 01 июля 2019
PKAddPaymentPassRequestConfiguration *request =[[PKAddPaymentPassRequestConfiguration alloc] initWithEncryptionScheme:PKEncryptionSchemeRSA_V2];

request.cardholderName  = @"***";

request.primaryAccountSuffix = @"****";

request.localizedDescription = @"This will add the card to Apple Pay";

request.primaryAccountIdentifier = @"Primary";

request.paymentNetwork = @"Primary";

PKAddPaymentPassViewController *addPaymentPassViewController = [[PKAddPaymentPassViewController alloc] initWithRequestConfiguration:request delegate:self];

Каждый раз, когда addPaymentPassViewController будет иметь значение ноль и получая ниже права пропущенных сообщений: com.apple.developer.payment-pass-provisioning

Я добавил com.apple.developer.payment-pass-provisioningкак ДА в файле info.plist.

...