Disappearing files

I have an app that captures some data and stores it as XML files. Sometimes the app crashes (I am trying to find the cause of this).

The issue I am having is that when the app crashes and then it is re-opened, it cannot find any of the XML files that have been previously created.

BUT - if you reboot the iPhone or iPad, then all the previous files are there where they should be.

I am looking for ideas as to why the files disappear until after a reboot.

Where, exactly, are those files being written to?


Is icloud in the mix?


How many devices have this issue? How much free space on the ones you've crashed on?


Is this a test app crash or store dist.?

Disappearing files
 
 
Q