ios - 项目每Run一下,Documents目录就变了,就像重新安装了一个App一样?
PHP中文网
PHP中文网 2017-04-17 17:59:09
0
1
726

以前我记得每次Run的时候还是会对应原来的App,Ducoments文件都是一样的。
如今为啥变成这样子了?
到时候是不是用户下载更新的时候也会变了?
这样子我存在Documents的数据就都没了?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
小葫芦

First of all, this has always been the case for me. Every time I run it, the Documents path will be modified.
Secondly, there is no data disappearance, unless the App is deleted, Apple only dynamically changes the name of the folder each time, and it is not a brand new folder.
This is just Apple’s security feature and will not affect your normal use and development.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template