1

我一直使用 HJCache 没有问题,但是对于 tableview 中的特定图像集,我会遇到连续错误。

2011-10-31 13:39:12.890 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:1 retains:3 2011-10-31 13:39:19.809 Koopeenveilinghuis[5576:607] HJMOHandler URLConnection failed Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x4cc9020 {NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x4cbfed0 "unsupported URL"} 2011-10-31 13:39:19.811 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:2 retains:4 2011-10-31 13:39:19.823 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:2 retains:4 2011-10-31 13:39:32.106 Koopeenveilinghuis[5576:607] HJMOHandler URLConnection failed Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x4ccc0e0 {NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x4ccc110 "unsupported URL"} 2011-10-31 13:39:32.111 Koopeenveilinghuis[5576:607] moHandlerFailed HJMOHandler users:1 retains:3

图像每两个单元格重叠一次。

4

1 回答 1

5

NSURLErrorUnsupportedURL
当框架无法处理格式正确的 URL 时返回。最可能的原因是 URL 没有可用的协议处理程序。

那里没有谜团,该 URL 缺少支持的协议。发生这种情况是因为协议不受支持,或者 URL 完全丢失。由于NSErrorFailingURLStringKey是空的,所以后面的似乎是这样。

于 2011-10-31T12:46:14.333 回答