No, this option is not available in neither UIWebView nor WKWebView.
Your best bet is to use SFSafariViewController instead. The reason it works there is because it runs in a separate process, to prevent your app from getting access to this security-relevant information.