开发者

iOS JMImageCache: Use Default Image

开发者 https://www.devze.com 2023-03-24 09:29 出处:网络
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.

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

精彩评论

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