本文介绍了paymentquue updatedTransactions:而不是调用paymentQueueRestoreCompletedTransactionsFinished:调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我 restoringCompletedTransactions:时使用以下方案

When I am restoringCompletedTransactions: by using the following scenario

[[SKPaymentQueue defaultQueue]addTransactionObserver:self];
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];

SKPaymentQueue代表没有调用 updatedTransactions:而不是它调用 paymentQueueRestoreCompletedTransactionsFinished:有没有人知道如何克服。如果您有任何想法,请告诉我。

SKPaymentQueue Delegate not calling updatedTransactions: instead it's calling paymentQueueRestoreCompletedTransactionsFinished: does anybody know about this how to overcome.Let me know if you have any idea.

谢谢你提前..

推荐答案

Apple列出了有几个原因导致这种情况失败。

Apple has listed here a couple reasons why this might fail.

一个典型的原因:确保你总是完成交易,即使他们失败了。

One typical reason: make sure you always finish your transactions, even if they fail.

这篇关于paymentquue updatedTransactions:而不是调用paymentQueueRestoreCompletedTransactionsFinished:调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 10:35