I'm trying to looking for an equivalent implement of webView:shouldStartLoadWithRequest:navigationType: in the WebKit framework (on Mac).
I looked through WebUIDelegate & WebFrameLoadDelegate but did not find anything useful.
Any help is very much appreciated =). Thanks.
webView:decidePolicyForNavigationAction:request:frame:decisionListener: and other related WebPolicyDelegate methods do the same thing.
If you do [listener use] in this method, it's like return YES in iOS. And vice versa: do nothing to return NO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With