我开发了一个非消耗性InAppPurchase应用程序 . 该应用程序遭到拒绝,苹果指出 We found that while your app offers In-App Purchase(s) that can be restored, it does not include the required "Restore" feature to allow users to restore the previously purchased In-App Purchase(s) . 所以现在我已经在我的应用程序中实现了 restoreCompletedTransactions 方法来恢复以前完成的事务 .

我实施的准则是

-(IBAction)buttonClicked
{
      [[SKPaymentQueue defaultQueue]restoreCompletedTransactions];
}

一切正常,但问题是当我点击按钮时InAppPurchases没有自动解锁 . 它再次要求通过提高警报来购买应用程序

enter image description here

如果我点击购买它正在提高警报

enter image description here

通过提高这些警报用户可能会混淆因为他/她已经购买了这些产品但是它再次要求购买(但是他/她不知道您已购买的下一个警报消息)..所以,我的要求是我不要在恢复以前购买的产品的交易后,我们不想提出这两个警报 . 直接将产品解锁 . 我怎样才能做到这一点...?有可能这样做吗?