1. Loaded the web page in webView.
2. After webViewDidfinishload, I stored the contents into an NSData object and then converted data to an NSString and wrote to a file and saved in the application folder.
3. Now while trying load it, I am taking the string back from the file and converting it back to NSData and loading it to webView using loadData: method.
1. The web pages I am trying to save are simple (doesnt have much css and all) and the problem I am facing is that I am not able to load images, since most of the images in an html are external links, it requires net connection to load it. Any idea how to get images too to get saved to my file?
2. The second problem I am facing is how to delete a saved file from app's folder. I am able to get the list of files in the application's folder and get it populated in a table view and now I want to delete the file when i do "swipe to delete"