ZOOZ In App 支払いを統合しようとしていますが、実行時にエラーが発生します。完全なメソッドを実行してから、アプリケーションをクラッシュさせます。私の方法はこれです
-(IBAction)buyMore{
paymentSuccessLabel.hidden = YES;
ZooZ * zooz = [ZooZ sharedInstance];
zooz.sandbox = YES;
zooz.tintColor = [UIColor colorWithRed:1 green:0.8 blue:0 alpha:1];
zooz.barButtonTintColor = [UIColor darkGrayColor];
ZooZPaymentRequest * req = [zooz createPaymentRequestWithTotal:12.1 invoiceRefNumber:@"test invoice ref-1234" delegate:self];
req.currencyCode = @"EUR";
req.payerDetails.firstName = @"Some";
req.payerDetails.email = @"test@zooz.com";
req.payerDetails.billingAddress.zipCode=@"01234";
req.requireAddress = NO;
ZooZInvoiceItem * item = [ZooZInvoiceItem invoiceItem:12.1 quantity:1 name:@"T-Shirt"];
item.additionalDetails = @"Free 200 characters custom description";
item.itemId = @"refId-12345678"; // optional
[req addItem:item];
req.invoice.additionalDetails = @"Custom invoice description text";
[zooz openPayment:req forAppKey:@"27edd0b5-7289-4e6a-9dcb-201179701496"];
}
クラッシュ時のアプリケーションログはこれです
Unknown class ZooZCardViewController in Interface Builder file.
Unknown class ZooZButton in Interface Builder file.
Unknown class ZooZFooterPanel in Interface Builder file.
Unknown class ZooZSpinner in Interface Builder file.
Unknown class ZooZBasePanel in Interface Builder file.
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UICustomObject 0x4c12e0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pageControl.'
悩んでいるので助かります。