ApplePay `paymentAuthorizationViewController:didAuthorizePayment:handler:` not called in Xcode Simulator 10.3

谁说胖子不能爱 提交于 2020-01-16 09:10:35

问题


ApplePay's PKPaymentAuthorizationViewControllerDelegate method paymentAuthorizationViewController:didAuthorizePayment:handler: is not being called when run on an Xcode 10.3 simulator.

This method is called as expected when built to a device with Xcode 10.3.

This method is called as expected in the Xcode 10.2.1 simulator.

The deprecated method paymentAuthorizationViewController:didAuthorizePayment:completion: exhibits the same negative behavior.

Based on the fact that it works on device and in older versions of Xcode, I'm certain my implementation is correct unless I'm missing something that changed. Does anyone know how to fix this for the Xcode 10.3 simulator?


回答1:


This has been fixed in Xcode 11.3.



来源:https://stackoverflow.com/questions/57260836/applepay-paymentauthorizationviewcontrollerdidauthorizepaymenthandler-not-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!