iOSImage.WriteToFile
From Xojo Documentation
Method
Writes the image to a file. Use type to specify the uniform type identifier for the data. For example, use "public.png" for PNG data.
Notes
Common types include "public.jpeg", "public.tiff" and "public.png".
Apple provides a list of uniform type identifiers.
Sample Code
Save an image as a PNG file: