且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS Cordova应用程序更新后看不到用cordova.plugin.file保存的图像

更新时间:2023-11-18 07:56:16

好吧,事实是我将它们保存到了temp目录,ios在应用程序更新时将其清除.开始将图像保存到Documents/目录后,一切开始正常运行.

Well, the thing was that I saved them to a temp directory, which is cleared by ios on app update. After I started saving the images to the Documents/ directory, everything started working fine.

在此处查看文档 https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/