• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebKit: Blanking the WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: WebKit: Blanking the WebView
      • From: Adrian Milliner <email@hidden>
References: 
 >WebKit: Blanking the WebView (From: "Mike O'Connor" <email@hidden>)

  • Prev by Date: Re: Critique of Java GUI vs Cocoa
  • Next by Date: Re: Menubar inside window
  • Previous by thread: WebKit: Blanking the WebView
  • Next by thread: Re: WebKit: Blanking the WebView
  • Index(es):
    • Date
    • Thread