folder ground 文件访问

   

蓝色文件访问

  NSString * path = [[NSBundle mainBundle]pathForResource:@"one/two/two" ofType:@"html"];

    

        NSString *html = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];

        [_webview loadHTMLString:html baseURL:[NSURL URLWithString:path]];

 

posted @ 2017-05-25 11:46  谢小锋  阅读(144)  评论(0编辑  收藏  举报