First of all... My other question got marked as a duplicate even though the question suggested was the exact opposite, so:
Inside my webView
I do not want to be redirected to other apps. WKWebView
should never redirect to other Apps. Instead it should just open the url
.
This is my webView
:
lazy var webView: WKWebView = {
let webConfiguration = WKWebViewConfiguration()
let webView = WKWebView(frame: .zero, configuration: webConfiguration)
webView.uiDelegate = self
webView.translatesAutoresizingMaskIntoConstraints = false
return webView
}()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…