UIWebView“无法读取文档”错误 [英] UIWebView "Unable to read document" error

查看:110
本文介绍了UIWebView“无法读取文档”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用loadRequest打开Word和Excel 2003文档,我收到此错误
(在模拟器中)。
无法阅读文档。
阅读文档时出错。

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.

根据此链接,
http://developer.apple.com/library/ios/#qa/qa2008/qa1630.html

UIWebView应该显示doc和xls类型。

UIWebView should display doc and xls types.

任何想法?
还有其他推荐的xls,doc观众吗?

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

谢谢。

推荐答案

我在这些案例中找到的原因是由于密码 受保护的加密的文件,或 webview 的任何文件格式加载

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

UIWebView有这些 EXCEPTION SFUZipEndOfCentralDirectoryError:遇到上述原因时无法找到中央目录记录的结尾。

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

您可以加载

这篇关于UIWebView“无法读取文档”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆