Re: WebView novice question
Re: WebView novice question
- Subject: Re: WebView novice question
- From: John Stiles <email@hidden>
- Date: Thu, 27 Oct 2005 14:15:28 -0700
This seems to do the trick.
I think it's a little odd that I need to do this, but hey, it was
only a few extra lines of code :)
On Oct 26, 2005, at 6:17 PM, Justin Anderson wrote:
I believe you can turn off that contextual menu entirely by giving
your WebView a WebUIDelegate that implements -
webView:contextMenuItemsForElement:defaultMenuItems: which always
returns an empty NSArray.
See: <http://developer.apple.com/documentation/Cocoa/Conceptual/
DisplayWebContent/Concepts/WebKitDesign.html#//apple_ref/doc/uid/
20002024-128170>
Justin Anderson
http://www.tensaimac.com/
On Oct 26, 2005, at 7:04 PM, John Stiles wrote:
Anyway, here's the real question--if you right click in my web
view, there's only one option displayed in the menu: "Reload." If
you choose this reload option, the web view contents simply
vanish. Doh!
Is the "loadData" method going to end up making a lot of extra
work for me? Should I just blat a file to the temp directory and
point the web view at that?
_______________________________________________
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