I preview docs in my app using a UIDocumentInteractionController. However, sometimes documents show fine, other times the interactioncontroller displays a message “Error while reading the document”. I know it is not an issue with the document, because the same document sometimes shows and sometimes doesn’t.
Restarting the device solves this problem temporarily – so it would appear to be a memory issue, but strangely I am not getting any memory warnings. Any ideas on how to get this to work reliably please?
Notes:
- The documentinteractioncontroller preview is dismissed and the
controller released when finished to ensure prior previews do not
remain in memory - I had the same issue using the quicklook controller
After much testing it appears this issue is limited to iPad 1. The only workaround is a restart.