maintain built-in purchases swift



  • Please tell me how best to keep built-in purchases, that is, life in the game. NSUserDefaults will do that?



  • It's not like keeping a purchase here, it's worth keeping it. And in the first place, you keep these lives once you buy them, you want to keep them. If that's the case, you don't have to buy it, you can just fix the right things.

    You can keep it. NSUserDefaults or plist Keep it or something. If you want to protect something, encrypt the meanings. Banal XOR The encryption will protect most attempts to fix values. If you want to be safe from hacking, without a server where you keep it/check it.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2