【问题标题】:How can I used the cache image of SDWebimage in UIWebview如何在 UIWebview 中使用 SDWebimage 的缓存图像
【发布时间】:2014-04-15 09:52:53
【问题描述】:

如何在UIWebview 中利用SDWebCache。 我正在使用loadhtmlWithString 加载UIWebview,在html 中带有Image 标签并在其中传递url,但它再次下载图像而不是从缓存中获取图像。 任何人都可以告诉我我做错了什么

提前谢谢:)

【问题讨论】:

    标签: ios objective-c ios7 uiwebview sdwebimage


    【解决方案1】:

    您不能将 SDWebImage 用于 UIWebview 缓存。但是您可以使用多种缓存方法来缓存您的网页。

    看看thisthisthis

    【讨论】:

    猜你喜欢
    • 2012-10-13
    • 2023-04-03
    • 2016-08-01
    • 2016-03-03
    • 1970-01-01
    • 2014-02-16
    • 2013-02-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多