UIWebView *webView = [[UIWebView alloc]initWithFrame:CGRectZero];

NSString *myUserAgent = [webView stringByEvaluatingJavaScriptFromString:@"navigator.userAgent"];

posted on 2015-07-22 18:17  ximenchuixie  阅读(568)  评论(0)    收藏  举报