For some reason, the following webview user interface delegation methods are never called. Tried opening, clicking, interacting with the webview to trigger delegate calls, and nothing works.
- (void)webViewFocus:(WebView *)sender {
NSLog(@"focusing %@", sender);
}
- (void)webViewUnfocus:(WebView *)sender {
NSLog(@"unfocusing %@", sender);
}
- (BOOL)webViewIsStatusBarVisible:(WebView *)sender {
return YES;
}
- (void)webView:(WebView *)sender setStatusBarVisible:(BOOL)visible {
NSLog(@"%@ %d", sender, visible);
}
I made sure that the delegate is connected correctly and can confirm that when the user wants to open a new window, the - (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)requestWebUIDelegate method is called correctly. Any ideas?
source
share