首页 > 代码库 > folder ground 文件访问

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

 

folder ground 文件访问