Is there a function for the WKWebView class that allows you to detect whenever the URL of that WebView has changed?
The didCommit and didStartProv
You may add an observer:
[webView_ addObserver:self forKeyPath:@"URL" options:NSKeyValueObservingOptionNew context:NULL];
and the corresponding method that gets called when the URL changes:
-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary