Our app is serving content in UIWebView which can link to PDF files, Video files, Doc files etc...We also allow user to access all of this content (Web and the linked files) in offline mode by downloading all the required files. Once all the files are available locally, we'd like the web view to use these local files even when the user is online.
- If we setup big enough NSURLCache and use AFNetworking to download the files and save it on disk will this work out of the box?
- Is there a way to put the downloaded content (files) in cache and then load the content in web view so that it uses the cached files?