Hi, Is there any easy way to set the contents of a webview to an html string (without having to load a file)?
Thanks
[[webView mainFrame] loadHTMLString:htmlString baseURL:someURL];
(Where someURL is used to resolve relative URLs in the HTML source.)
someURL
Yes definitely calling loadHTMLString:baseURL: on the mainFrame of the webView would do it.