我做了一个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
更多推荐
发布评论