WKWebView is not showing error message for unknown host

Hi,

I am using WKWebView to showing some web content to user in my application.

it is working fine for valid url. but when I try to load a request for invalid url it's show an empty view and getting an error in didFailProvisionalNavigation delegate method.

but in other side SFSafariViewController shows an error message for invalid url. like "Safari cannot open the page because the server cannot found"

is it any configuration/api for WKWebView so we can achieve the same behaviour like SFSafariViewController for invalid url?

means, show the error message instead of blank screen.

WKWebView is not showing error message for unknown host
 
 
Q