与App Deletion相关的耗材应用内购买(Consumable In

编程入门 行业动态 更新时间:2024-10-24 14:19:33
App Deletion相关的耗材应用内购买(Consumable In-App Purchase related to App Deletion)

我做了一个iOS应用程序,用一定数量的项目启动用户。 用户可以通过消费品应用内购买购买更多这些商品。 该应用程序不是游戏,因此应用程序的状态无关紧要(例如,它们所处的级别)。

我该怎么做才能阻止用户简单地卸载应用程序并接收项目的起始数量(而不是购买更多)? 我通过NSUserDefaults存储项目。

I've made an iOS app that starts the user with a certain number of an item. The user can buy more of these items via a consumable in-app purchase. The app is not a game so the state of the app does not matter (for example, the level they are on).

What can I do to prevent the user from simply uninstalling the application and receiving the starting number of items (rather than buying more)? I'm storing the items via NSUserDefaults.

最满意答案

您可以将保存的信息保存到iOS KeyChain,它们可能会在那里为您服务。

请参阅以下示例代码: KeychainItemWrapper

You can save your saved info to iOS KeyChain, they will probably be there for you.

See an example code at: KeychainItemWrapper

更多推荐

本文发布于:2023-08-01 00:10:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1351729.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:App   Deletion   Consumable

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!