
- (voID)paymentAuthorizationVIEwControllerDIDFinish:(PKPaymentAuthorizationVIEwController *)controller{ [self dismissVIEwControllerAnimated:YES completion:nil];} 解决方法 从 documentation for paymentAuthorizationViewControllerDidFinish: When the user authorizes a payment request,this method is called after the status from the paymentAuthorizationVIEwController:dIDAuthorizePayment:completion: method’s completion block has been shown to the user. When the user cancels without authorizing the payment request,only paymentAuthorizationVIEwControllerDIDFinish: is called.
因此,如果
paymentAuthorizationVIEwController:dIDAuthorizePayment:completion:
不是先调用,然后用户点击取消按钮(否则控制器以某种方式被取消).
总结以上是内存溢出为你收集整理的ios – 有没有办法检测它在Apple Pay PKPaymentAuthorizationViewController上触摸的取消按钮?全部内容,希望文章能够帮你解决ios – 有没有办法检测它在Apple Pay PKPaymentAuthorizationViewController上触摸的取消按钮?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)