• 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: 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


References: 
 >Odd WebView Bhaviour (From: Thomas Davie <email@hidden>)
 >Re: Odd WebView Bhaviour (From: Tom Davie <email@hidden>)

  • Prev by Date: -revertToInitialValues not 'taking'
  • Next by Date: NSDocument's canCloseDocumentWithDelegate:...
  • Previous by thread: Re: Odd WebView Bhaviour
  • Next by thread: Temporarily disabling Undo Registration with Core Data
  • Index(es):
    • Date
    • Thread