简体   繁体   中英

Keep File on iOS Device after App Update

Is there any way to create a file, which will not be erased after iOS has updated the app?

Scenario: My app saves a text file to the device, and after updating the app, some users are reporting that the text file is not there. Is there any way to preserve the files?

Thanks.

如果您将文件存储在文档目录中,那么我应该在那里,除非在新版本中您创建了具有相同名称的另一个文件并替换了前一个文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM