0
我用下面的代碼開始恢復應用程序內購買:恢復沒有完成
[[SKPaymentQueue defaultQueue] addTransactionObserver:self];
SKReceiptRefreshRequest * request = [[SKReceiptRefreshRequest alloc] init];
request.delegate = self;
[request start];
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
應用程序商店的程序啓動,並從SKTransactionObserver這種方法被稱爲:
- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue
但這種方法從來沒有所謂的完成交易:
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
有什麼問題,我該怎麼溶膠是嗎?