我將PayPal添加到我的應用程序中,但PaymentViewController不起作用。我輸入我的橋接報如下:貝寶ios PaymentViewController不工作?
#import "PayPalMobile.h"
#import "PayPalConfiguration.h"
#import "PayPalPaymentViewController.h"
@interface ViewController : UIViewController<PayPalPaymentDelegate>
@end
#endif /* Header_h */
而且我paymentviewcontroller是:
let paymentViewController = PayPalPaymentViewController(payment: payment, configuration: payPalConfig, delegate: self)
我的錯誤是「MyClass的不符合協議PayPalPaymentDelegate」
實現協議「PayPalPaymentDelegate」所需的委託方法 –