• 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: Odd WebView Bhaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd WebView Bhaviour


  • Subject: Re: Odd WebView Bhaviour
  • From: Tom Davie <email@hidden>
  • Date: Wed, 25 May 2005 22:38:57 +0100

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.

The only thing I wondered about is that I'm loading a file within the
application's own bundle, but atm I'm not in a position to test this,
would this be a problem?

Bob
 _______________________________________________
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: Odd WebView Bhaviour
      • From: Steven Kramer <email@hidden>
References: 
 >Odd WebView Bhaviour (From: Thomas Davie <email@hidden>)

  • Prev by Date: examples of sync services for pushing tasks to iCal
  • Next by Date: Re: Building NSObject question/Help
  • Previous by thread: Re: Odd WebView Bhaviour
  • Next by thread: Re: Odd WebView Bhaviour
  • Index(es):
    • Date
    • Thread