Send path of SDWebImage stored image to a UIWebView

一笑奈何 提交于 2020-01-05 12:07:20

问题


I need to be able to get a path to images that cached.

While I am wondering if there is a way to do this using SDWebImage, I could probably get away with just having the knowledge to return a path to an image stored in the cache so I can display it within a uiwebview inside an image tag.


回答1:


According to this https://github.com/rs/SDWebImage/issues/25 it would seem you can simply refer to the image by it's original url and it will be correctly picked up from cache.



来源:https://stackoverflow.com/questions/17959251/send-path-of-sdwebimage-stored-image-to-a-uiwebview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!