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 r开发者_运维技巧ecommended xls, doc viewers out there?
Thanks.
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
精彩评论