title: WKWebView fails to load resource
body: <p>In our app we are using WKWebView to upload an image and save it in server. This works fine in Safari, but it doesnt work in the WkWebView. </p>
  
  <pre><code>    WKWebViewConfiguration *theConfiguration = [[WKWebViewConfiguration alloc] init];
      _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 60, self.view.frame.size.width, self.view.frame.size.height) configuration:theConfiguration];
      _webView.navigationDelegate = self;
      _webView.UIDelegate = self;
  
      NSURL *nsurl=[NSURL URLWithString:@"https://lo---url...new"];
      NSURLRequest *nsrequest=[NSURLRequest requestWithURL:nsurl];
      [_webView loadRequest:nsrequest];
  </code></pre>
  
  <p>After the image is attached by imagePickerController, when I try to hit save button, the safari debugger shows an error: </p>
  
  <blockquote>
    <p>Failed to load resource. Network connection was lost.</p>
  </blockquote>
  
  <p>Nothing is caught in <code>-(void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error</code>. This method is not called .</p>
  
  <p>Why is this happening ?</p>