Re: WebKit: Blanking the WebView
Re: WebKit: Blanking the WebView
- Subject: Re: WebKit: Blanking the WebView
- From: Evan Schoenberg <email@hidden>
- Date: Mon, 25 Oct 2004 01:23:01 -0500
I think that:
[[webView mainFrame] loadHTMLString:@"" baseURL:nil];
Should work. Haven't tried it, though.
-Evan
On Oct 24, 2004, at 10:53 PM, Mike O'Connor wrote:
I have a list, and some of the rows have a URL. In my application, when the user clicks on a row, a WebView fetches the URL and displays the item. This works fine. But some rows do not have a URL, and when the user clicks on one I want to blank out the WebView.
What's the best, most efficient way to make the WebView blank? TIA!
_______________________________________________
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
_______________________________________________
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