title: how to clear webview cache in ipad
body: <p>Here i have load the content in the uiwebview using </p>
  
  <pre><code>[webView loadHTMLString:[theApp.contentArr objectAtIndex:spineIndex] baseURL:url];
  </code></pre>
  
  <p>after going back and come i need to clear the cache </p>
  
  <p>here i have tried these kinds of methods to clear the cache:</p>
  
  <pre><code> [webView stringByEvaluatingJavaScriptFromString:@"document.body.innerHTML = \"\";"];
      [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];
      // remove all cached responses
          [[NSURLCache sharedURLCache] removeAllCachedResponses];
  
          // set an empty cache
      NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil];
      [NSURLCache setSharedURLCache:sharedCache];
  </code></pre>
  
  <p>but no use, what is the solution for this.....</p>