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];

posted @ 2016-03-15 12:28  zhen_zhen  阅读(117)  评论(0编辑  收藏  举报