Caching UIWebview from local loaded files
I have a uiwebview which loads documents from local file system. Some of the images on these HTML files are 2 mb. I wanted to cache those images or the whole HTML.
What is the best way to accomplish or is this even something I should consi开发者_如何学JAVAder?
Thanks for all your help.
It sounds like your best option would be to cache the large images and put them in the bundle at compile time. You could then change the URL's to those large images in your HTML to file URL's pointing to the files in the bundle.
精彩评论