在我的新应用程序中,我使用MKStoreKit删除广告。它的购买方工作,但就恢复功能而言,没有什么是可行的!我已经正确地实现了所有的框架和MKStoreKit文件,但是我得到了错误:
No visible @interface for 'MKStoreManager' declares the selector 'restorePreviousTransactions'我在还原IBAction中使用的代码是:
[[MKStoreManager sharedManager] restorePreviousTransactions];但它只是给了我这个错误!我正在使用MKStoreKit的最新版本。可能有人有什么想法吗?
发布于 2013-03-24 23:28:42
你可以试试这个。
[[MKStoreManager sharedManager] restorePreviousTransactionsOnComplete:^{
NSLog(@"Restored");
} onError:^(NSError *error) {
NSLog(@"Reseting purchases failed because of error: %@", [error description]);
}];https://stackoverflow.com/questions/15012111
复制相似问题