2011-11-25 68 views
0

我想在iPad上的UIWebview中打开一个下载的.doc文件。 基本上.doc文件在文件名&我试图打开的文件内容中都有unicode字符。在webview上打开本地.doc文件时出现NSRangeException

我有以下控制台

WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSRangeException> *** -[NSArray objectAtIndex:]: index 0 beyond bounds for empty array 

错误日志但无论是的WebView didFailLoadWithErrorwebViewDidFinishLoad委托调用,所以我怎样才能捕获错误。什么可能的原因呢?

回答