[webview loadHTMLString:"<html><body>Hello World!</body></html>"];
Do this:
[webview setMainFrameURL:"javascript:document.write('<html><body>Hello
World!</body></html>')"];
This allows you to still load dynamically generated HTML (from
mustache.js, for example) without using loadHTMLString, thus avoiding
the (potential) bug I reported.
> > objectivej+...@googlegroups.com<objectivej%2Bunsubscribe@googlegrou ps.com>
> > .
> > > > > For more options, visit this group athttp://
> > groups.google.com/group/objectivej?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups "Cappuccino & Objective-J" group.
> > > > To post to this group, send email to objec...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > objectivej+...@googlegroups.com<objectivej%2Bunsubscribe@googlegrou ps.com>
> > .
> > > > For more options, visit this group athttp://
> > groups.google.com/group/objectivej?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Cappuccino & Objective-J" group.
> > > To post to this group, send email to objec...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > objectivej+...@googlegroups.com<objectivej%2Bunsubscribe@googlegrou ps.com>
> > .
> > > For more options, visit this group athttp://
> > groups.google.com/group/objectivej?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Cappuccino & Objective-J" group.
> > To post to this group, send email to objec...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > objectivej+...@googlegroups.com<objectivej%2Bunsubscribe@googlegrou ps.com>