简体   繁体   English

IOS应用程序内购买

[英]IOS In-App Purchase

My IOS App have In-App Purchase build on it . 我的IOS应用程序在其上构建了应用内购买。 the Problem is if you buy the app now and remove the app and want install it again you would have to pay again . 问题是,如果您现在购买应用程序并删除该应用程序并希望再次安装它,您将不得不再次支付。 even if you want to install the app on another device using the same App store account it ask you to pay again 即使您想使用相同的App Store帐户在其他设备上安装该应用程序,它也会要求您再次付款

is there anyone have such problem before and how top fix that ? 是否有人有这样的问题之前以及如何顶尖修复?

The StoreKit framework allows you to restore purchases for users without having to pay multiple times for a purchase. StoreKit框架允许您为用户恢复购买,而无需为购买多次付款。

Look at the Store Kit documentation for Restoring Transactions. 查看还原事务的Store Kit文档。

The restoration process requires the user to log in with their iTunes Account, so that the system knows their purchase history. 恢复过程要求用户使用其iTunes帐户登录,以便系统知道他们的购买历史记录。

As long as you implement the restore process and provide a UI for a user to do so, you users should never have to pay more than once for a purchase within your app, even if they uninstall the app and reinstall it on a different device. 只要您实施还原过程并为用户提供用户界面,用户就不应该为应用内的购买付费多次,即使他们卸载应用并在其他设备上重新安装也是如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM