开发者

iOS JMImageCache: Use Default Image

I just started using JMImageCache which is r开发者_StackOverflow社区eally nice and easy to use. There is just one issue, it doesn't support using a default image until the remote image loads.

Does anyone know how this can be done?


If imageForURL:delegate: returns nil, simply set your default image, which you can replace when the delegate method cache:didDownloadImage:forURL: is called.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜