I’m currently writing an iOS app using the PhoneGap 2.0 API.
I am using the FileReader() class to try to read the contents of a file, with size 139KB, but it gets about half way through reading the file and then XCode and the Simulator crashes. Is there a better way to store this data or to read the file?
The data stored in the file is currently in JSON format.
Thanks
I had this problem – added in
and no longer crashes takes a long time – not sure if this the debugger writing to console?