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

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

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