Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WebView が表示されていないときに、WebView に画像や SVG コードをロードする際に問題が発生するのでしょうか? 私はwebviewをsvgの所有者にすることを計画しているので、webviewをUIImageに変換します。ありがとう
NSURL *fileURL =[[NSURL alloc] initFileURLWithPath:SVGpath]; NSURLRequest*req =[NSURLRequest requestWithURL:fileURL]; [webView setScalesPageToFit:YES]; [webView loadRequest:req]; //uncheck opaque property of UIWebView.