title: How to fix "nsurlconnection finished with error - code 1100 " error for UIWebView in IOS?
body: <p>I am working on an existing project where <code>UIWebview</code> is used to load html string to load js files for loading contents downloaded from our server.Currently <code>UIWebview</code> is not able to load the contents in IOS which is perfectly loading in Android.</p>
  
  <p>I have tried to switch to WKWebView but still no luck.</p>
  
  <pre><code>self.webContentView.delegate = self;
  NSString* html = [player getHTMLString];
  NSString* baseURL = [player getBaseURLPath];
  [self.pageLoadingActivity startAnimating];
  [self.webContentView loadHTMLString:html baseURL: [NSURL URLWithString: baseURL]];
  </code></pre>
  
  <p>EDIT------</p>
  
  <p>After debugging sometime I found I was getting two 1100 error.
  It seemed like two file were missing or app was not able to read them.
  Now whenever I am hitting shouldStartLoadWithRequest with 
  request
   URL:</p>
  
  <blockquote>
    <p>file:///Users/ealpha4tech/Library/Developer/CoreSimulator/Devices/2CA71983-9996-44D6-944F-34E3EAFAE96D/data/Containers/Data/Application/6A19ABBA-CB68-4EE4-AC02-6AD3CB8A5A68/Documents/icplayer/icplayer/D2D6AFFF93CB2CFCB1640484F5429D89.cache.html </p>
  </blockquote>
  
  <p>I am getting 1100 error.(the above file is present though)</p>