[英]Is the data stored using NSUserDefaults deleted when the app is updated?
Currently I'm creating an app that is storing data using NSUserDefaults.目前我正在创建一个使用 NSUserDefaults 存储数据的应用程序。
So when I upload v1 of the app to the app store and then make a new update for the app (v2) is the data stored in NSUsedDefaults deleted when the user updates to the new version?因此,当我将应用程序的 v1 上传到应用程序商店,然后对应用程序 (v2) 进行新更新时,当用户更新到新版本时,存储在 NSUsedDefaults 中的数据是否被删除?
The data stored with NSUserDefaults
is not deleted when the user updates the app.当用户更新应用程序时,使用
NSUserDefaults
存储的数据不会被删除。
It will only be deleted if the user deletes the app.只有当用户删除应用程序时,它才会被删除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.