Does NSUserDefaults get erased when an app gets updated?

前端 未结 2 1602
情深已故
情深已故 2021-02-15 13:42

In my App i am using NSUserDefaults to save some data. I have a doubt regarding this when i update the app in App Store, Will The Data in NSUserDefaults will remain same or it i

相关标签:
2条回答
  • 2021-02-15 13:54

    No, it will not be erased on updating

    0 讨论(0)
  • 2021-02-15 14:09

    NSUserDefaults will not be erased during update, but it will be removed when you uninstall an app.

    0 讨论(0)
提交回复
热议问题