0
我使用貝寶SDK的我的應用程序,但是,想下面的代碼貝寶的iOS MECL getInstance方法崩潰
[[PayPal getInstance] fetchDeviceReferenceTokenWithAppID:@"APP-<app id>" forEnvironment:ENV_SANDBOX withDelegate:self];
下列崩潰:
+[PayPal getInstance]: unrecognized selector sent to class 0x430588
請確定問題幫助.. 謝謝。
你用'[貝寶initializeWithAppID:@ 「APP-80W284485P519543T」 forEnvironment:ENV_SANDBOX]'代碼intilize貝寶。 ?? –
@RahulPatel實際上,當我試圖使用這種方法xcode不認識它作爲一種已知的方法。 :( –
檢查Paypal.h以查看getInstance是否在那裏聲明。如果它的類方法或實例方法。 – 0x8badf00d