Reputation: 594
We have an iOS application for the iPad that is having strange behavior. We store the state of the app in an XML file in the documents folder. Every once in a while our testers are reporting that when the application crashes the file on the disk gets deleted as well. This is very strange, since I can't figure out what can be causing this. Any pointers to how I can debug this issue.
The problem is complicated by the fact that this happens randomly and only on certain ipads(generally iPad2). We are using NSData initWithcontentOfFile.
By any chance can this be related to memory mapping of the files.
Upvotes: 3
Views: 1252