_payPalConfig.acceptCreditCards = NO;
如果我将_payPalConfig.acceptCreditCards
设置为 YES,应用程序将崩溃并出现以下异常:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present a nil modal view controller on target <PayPalPaymentViewController: 0x7f8b03029a00
请执行导入
#import "CardIO.h"
在您的 ViewController.h 文件中,并添加CardIOPaymentViewControllerDelegate
在你的课堂上。