I am displaying a web page in WKWebView
. It loads successfully. On the page there are 3 buttons - X, Y, Z. When X and Y are tapped, the web view
changes content as it should. When Z is tapped nothing happens. I tried the same link in Safari Mobile. X and Y work the same way as in the WKWebView
. Z redirects to another page. The last doesn't happen in the app. What can be wrong? Thank you in advance.
To load the displayed page I am using:
if let url = URL(string: <My_URL>) {
let request = URLRequest(url: url)
wkWebView.load(request)
}
NSAllowsArbitraryLoads
is set to true