我UIwebview
用来在 iPad 上显示来自 SAP 的各种格式的文档,例如 .doc、.xls、.pdf 等。在将 .msg/.elm(邮件文件)显示为 webview 上的附件时,我们遇到了问题。我们将 .msg 文件作为附件上传到 SAP 中,就像其他文档一样。我们得到的确切错误是这样的
2012-08-09 12:19:56.311 Appname[62035:15203] Error loading attachment
Error Domain=WebKitErrorDomain Code=102 "Frame load interrupted" UserInfo=0x13041dc0 {NSErrorFailingURLKey=file:///Users/Admin/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/190DB7F1-F0EF-4333-A802-B07A71B989BC/Documents/State%20of%20the%20Viacom%20Business.msg, NSErrorFailingURLStringKey=file:///Users/Admin/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/190DB7F1-F0EF-4333-A802-B07A71B989BC/Documents/State%20of%20the%20Viacom%20Business.msg, NSLocalizedDescription=Frame load interrupted}
2012-08-09 12:19:56.312 Appname[62035:17503] void SendDelegateMessage(NSInvocation*): delegate (webView:decidePolicyForMIMEType:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
uiwebview 是否支持 .msg 文件格式..如果不支持,我们应该如何处理。
谢谢 !!