iOS files

J. Landman Gay jacque at hyperactivesw.com
Sun Jul 24 15:04:43 EDT 2011


On 7/23/11 11:19 AM, gwendalwood at cox.net wrote:
> Anyone know how to read and write files in an iOS application running
> on an iPad 2? Also, does anyone know how to print from within the iOS
> application? Any hints would be appreciated. My routines work in the
> simulator for reading and writing files, but don't work on the iPad
> 2.

You can read/write to files in iOS but only to specific locations. You 
can't write to the engine folder, for example, but you can write to 
documents, cache, or other specific places. File read/write works the 
same way it does on the desktop as long as you use specialFolderPath() 
to build the correct path, and you restrict paths to the folders listed 
in the iOS release notes.

If you still have trouble with it, do post your script and we can help.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list