Does Cache Directory gets deleted when upgrading iOS?

我与影子孤独终老i 提交于 2021-02-11 15:01:34

问题


I would like to know whether the Cache directory gets deleted when upgrading iOS?


回答1:


There are no clear answer for this in the documentation. It can be purged when the device gets low on disk space or performing a full restoration.

Application_Home/Library/Caches

Use this directory to write any application-specific support files that you want to persist between launches of the application or during application updates. Your application is generally responsible for adding and removing these files. It should also be able to re-create these files as needed because iTunes removes them during a full restoration of the device.



来源:https://stackoverflow.com/questions/14301985/does-cache-directory-gets-deleted-when-upgrading-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!