2016-03-15 webview loadwebview html

 UIWebView *viewWeb = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];

    viewWeb.backgroundColor = [UIColor whiteColor];

    [self.view addSubview:viewWeb];

//    NSString *url = [NSString stringWithFormat:@"%@faqDetail?faqUuid=%@",Public_URL,[_probledeDic objectForKey:@"uuid"]];

//

//    [viewWeb loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];

//    

    NSString *str22=[NSString stringWithFormat:@"%@",[_probledeDic objectForKey:@"content"]];

   [viewWeb loadHTMLString:str22 baseURL:nil];

原文地址:https://www.cnblogs.com/gzz2016/p/5278924.html