iphone/ipad应用程序中应用内购买的恢复功能
我已将应用内购买集成到我的应用程序中,并在我的设备上进行了测试。它工作正常。 但当我在iTunes商店上传二进制文件时,苹果拒绝了我的应用程序,原因如下:iphone/ipad应用程序中应用内购买的恢复功能,iphone,objective-c,xcode,ios5,in-app-purchase,Iphone,Objective C,Xcode,Ios5,In App Purchase,我已将应用内购买集成到我的应用程序中,并在我的设备上进行了测试。它工作正常。 但当我在iTunes商店上传二进制文件时,苹果拒绝了我的应用程序,原因如下: "We found that your app offers In-App Purchase/s that can be restored but it does not include a "Restore" feature to allow users to restore the previously purchased In-
"We found that your app offers In-App Purchase/s that can be restored but it does not
include a "Restore" feature to allow users to restore the previously purchased In-App
Purchase/s."
我不明白实际的问题是什么。您是不是碰巧使用了MKStoreKit?我是,收到了同样的拒绝信息
为了解决这个问题,我添加了一个按钮,上面写着“恢复应用内购买”,并调用
restorePreviousTransactionComplete:onError:
,这将允许用户恢复以前购买的任何IAP。您是否实现了-(void)restoreTransaction:(SKPaymentTransaction*)您代码中的事务?@NuzhatZari:是的,我已经在代码中集成了这个方法。代码-[自记录交易:交易];[self ProviderContent:transaction.originalTransaction.payment.productIdentifier];[自我完成我的交易:交易];点击此链接:希望对您有所帮助。访问此链接:-