How can I used the cache image of SDWebimage in UIWebview

How can I take the advantage of SDWebCache in UIWebview. I am loading the UIWebview using loadhtmlWithString with Image tag in the html & passing url in it but it is downloading the image again instead of taking it from cache. Can any body tell what i am doing wrong

Thanks in advance :)


You cannot use SDWebImage for UIWebview Caching. But you can use several caching methods to cahe your web page.

Take a look at this, this & this

Need Your Help

Serialize a Json property that is sometimes an array


Is there any way to serialize a Json object property that varies from decimal to decimal[] in a single operation?