How to read and write files on the IOS platform? For example, update the resource file。


#1

How to read and write files on the IOS platform?
For example, update the resource file。


#2

Haxe has APIs for reading and writing files, look at the sys and sys.io packages (for example): https://api.haxe.org/sys/FileSystem.html

The next part is whether you have permissions to write to the files you wish to modify, there also are paths in lime.system.System (like applicationStorageDirectory) that may help: http://api.openfl.org/lime/system/System.html