Cocoa API解説(macOS/iOS)

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。

目次

webView:decidePolicyForNavigationAction:request:frame:decisionListener:

**

-(void)webView:(WebView *)sender:
            decidePolicyForNavigationAction:(NSDictionary *)actionInformation:
            request:(NSURLRequest *)request:
            frame:(WebFrame *)frame:
            decisionListener:(id<WebPolicyDecisionListener>)listener:

解説

【actionInformation】
WebActionNavigationTypeKey
WebActionOriginalURLKey

返り値

( void )

なし

引数

( WebView * )sender
( NSDictionary * )actionInformation
( NSURLRequest * )request
( WebFrame * )frame
( id<WebPolicyDecisionListener> )listener

クラス

WebPolicyDelegate

Instance Methods

使用可能

10.2

参照

例文

- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation 
                                        request:(NSURLRequest *)request
                                        frame:(WebFrame *)frame
                                        decisionListener:(id<WebPolicyDecisionListener>)listener
{

NSLog(@"decidePolicyForNavigationAction %@",[actionInformation description]);
}