webViewDidClose(_:)
Notifies your app that the DOM window closed successfully.
Declaration
optional func webViewDidClose(_ webView: WKWebView)Parameters
- webView:
The web view invoking the delegate method.
Discussion
Your app should remove the web view from the view hierarchy and update the UI as needed, for instance by closing the containing browser tab or window.