Im loading xhtml pages of a book in webview. when open a book and load its pages in webview for first time all works fine, but when i go back to home screen and load other books then the cover page and index page (cover.xhtml & index.xhtml ) for the book are show that of the old book (first book that was opened ). It's same for all books, i.e. cover & index page for any book is show as that of first opened book.
I tried many things like removing webview and adding back.
[self loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]]; ,
[webView loadHTMLString:@"<html><head></head><body></body></html>" baseURL:nil];
none helped. The thing is its only giving problem with cover and index page rest of the pages are fine.
Is it because the name of the file is same (cover.xhtml) in all books so its cached and always give same content?. If so what is the solution.