Re: Odd WebView Bhaviour
Re: Odd WebView Bhaviour
- Subject: Re: Odd WebView Bhaviour
- From: Steven Kramer <email@hidden>
- Date: Thu, 26 May 2005 00:47:52 +0200
Op 25-mei-05 om 23:38 heeft Tom Davie het volgende geschreven:
On 5/25/05, Aaron Tuller <email@hidden> wrote:
are you displaying in a modal panel? it won't work.
you need to be running in default run loop mode.
this has caught me many times, for some reason I always forget.
Nope - I'm running normally, I've had the web view load a few things
by using:
[[resultsView mainFrame] loadHTMLString:someHTML
withBaseURL:someURLThatDoesntExist];
Interestingly, if I do:
[[resultsView mainFrame] loadHTMLString:someHTMLWithAStylesheet
withBaseURL:aURLThatDoesExist];
nothing loads.
You might want to try a base URL that points to an existing *file* in
the target *folder*. Seems to help over here.
Regards,
Steven Kramer
--
email@hidden
http://www.sprintteam.nl/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden