1

I am trying to open Word and Excel 2003 docs using loadRequest and I am getting this error (in simulator). Unable to Read Document. An error occurred while reading the document.

According to this link, http://developer.apple.com/library/ios/#qa/qa2008/qa1630.html

UIWebView should display doc and xls types.

Any ideas? Are there any other recommended xls, doc viewers out there?

Thanks.

live-love
  • 48,840
  • 22
  • 240
  • 204

1 Answers1

0

The reason i found int these case was due to password protected or encrypted file,or any file format which webview can load.

UIWebView has these EXCEPTION SFUZipEndOfCentralDirectoryError: Could not find the end of central directory record when it encounter with above reason.

You can load document like this

Community
  • 1
  • 1
Paresh Navadiya
  • 38,095
  • 11
  • 81
  • 132