标签:
UIWebView *webView = [[UIWebView alloc]initWithFrame:CGRectZero];
NSString *myUserAgent = [webView stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"];
ios 获得webview user-agent
原文地址:http://www.cnblogs.com/yibinpan/p/4668230.html