开发者

shouldStartLoadWithRequest equivalent in WebKit framework?

I'm trying to looking for an equivalent implement of webView:shouldStartLoadWit开发者_开发技巧hRequest: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.


Oh well I overlooked the docs. Just in case anyone has the same problem, it's webView:didStartProvisionalLoadForFrame:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜