userAgentForURL:
URLからユーザーエージェントを返します
-(NSString *)userAgentForURL:(NSURL *)URL:
解説
URLからユーザーエージェントを返します。
返り値
( NSString * )
文字列
引数
( NSURL * )URL
クラス
WebView
Instance Methods
使用可能
10.2
参照
setCustomUserAgent:
customUserAgent
例文
NSLog(@"userAgentForURL %@",[theWebView userAgentForURL:[NSURL URLWithString:@"http://www.oomori.com"]]);