UIWebViewのstringByEvaluatingJavaScriptFromString:というメソッドでJavaScriptを実行すれば、ユーザエージェントを取得できます。 UIWebView *webView = [[[UIWebView alloc] initWithFrame:CGRectZero] autorelease]; NSString *userAgent = [webView stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"]; NSLog(@"userAgent: %@", userAgent);