macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

webView:resource:didReceiveAuthenticationChallenge:fromDataSource:

**

-(void)webView:(WebView *)sender:
            resource:(id)identifier:
            didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge:
            fromDataSource:(WebDataSource *)dataSource:

解説

調査中...

返り値

( void )

なし

引数

( WebView * )sender
( id )identifier
( NSURLAuthenticationChallenge * )challenge
( WebDataSource * )dataSource

クラス

WebResourceLoadDelegate

Instance Methods

使用可能

10.2

参照

-webView:resource:didCancelAuthenticationChallenge:fromDataSource:

例文

-(void)webView:(WebView *)sender 
		resource:(id)identifier 
		didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
		fromDataSource:(WebDataSource *)dataSource
{
    NSLog([[dataSource representation] title]);

}