nslibrarydirectory

Files disappearing from NSLibraryDirectory

我们两清 提交于 2019-12-03 14:04:57
问题 I'm storing some files in the Library directory in an iOS app, using the following methods to construct it. In the end, I can call [MyClass dataDirectory] to do my file handling and all is well. I've recently discovered, however, that some files seem to be mysteriously disappearing out of this directory. According to the documentation, this should not be the case. Is this a safe place to store persistent files? The console output of this directory is: ~/var/mobile/Containers/Data/Application/