title: WKWebView - Track progress of webview loading
body: <p>I am using a <code>WKWebView</code> to load an <code>HTML</code> string <strong><em>using webview.loadHTMLString() method</em></strong> and I want to show a message when webview fails to load if there is no internet connection. I tried with delegate methods of <code>WKWebview</code> <strong><em>didFail</em></strong> but it is not going inside that method when there is no internet connection instead it is going inside <strong><em>didFinish</em></strong> method. So I am not able to differentiate between success and failure cases.</p>
  
  <p>Edit:- I am loading an HTMLString which contains a websocket url</p>