What the heck? Writing and reading ios files??

prothero at earthlearningsolutions.org prothero at earthlearningsolutions.org
Thu Jun 25 16:06:36 EDT 2020


Folks:
Thanks for you input. What I found out is that the iPhone cares very much about case in text, but running the app on my desktop didn’t care about case, so I had a mystery solved only by going down every blind alley until I finally found the offending code.

It also seems, but I haven’t tested this because I’m burned out after a day fighting with this, is that it seems the put URL statement likes to have its defaultFolder set and that it doesn’t like full pathnames. Not sure, but ……

This is one thing that can be extremely frustrating when the IDE doesn’t match the requirements for the destination device. Seems maybe there could be  warning that would appear in the help files especially about the case sensitivity of iOS filenames.

BTW, specialFilePath(“Documents”) works on ios, as does specialFilePath(“documents”), at least on the versions I'm using. (iOS latest and latest Mac OS’s).

Thanks for your responses,
BIll

William A. Prothero
Santa Barbara, CA. 93105
http://earthlearningsolutions.org/




More information about the use-livecode mailing list