• 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: Webview reloading is blocked ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webview reloading is blocked ?


  • Subject: Re: Webview reloading is blocked ?
  • From: email@hidden
  • Date: Wed, 24 Aug 2005 16:17:22 +0200

Quoting glenn andreas <email@hidden>:

>
> On Aug 24, 2005, at 3:37 AM, email@hidden wrote:

Thank you it works !

Regards

>
> > Hi lists !
> >
> > i'm having some problems with my webview refresh:
>
> > can someone help me ?
> >
> > thanks
>
> WebView only does it's work during the main run loop (not to be
> confused with the main thread - see NSRunLoop) - if there is another
> run loop running (such as control/menu tracking, or even modal
> dialogs) it won't refresh - I discovered this problem when I had a
> WebView in a modal dialog and it didn't want to load a page.
>
> In the case of a dialog, it's easy enough to roll your own modal
> session which makes sure to do something using the main run loop, but
> I'm not sure how to best get that to happen while menu tracking is
> going on.
>
> Perhaps (depending on how you handle contextual menus for tables/use
> of binds/delegates/etc...) you can add:
>
>      [[NSRunLoop currentRunLoop] runUntilDate: [NSDate
> dateWithTimeIntervalSinceNow:0.1]];
>
> after you set the page data.
>
>
> Glenn Andreas                      email@hidden
>   <http://www.gandreas.com/> wicked fun!
> Widgetarium | the quickest path to widgets
>
>

---

Guillaume Rager - GUMITECH
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

References: 
 >Webview reloading is blocked ? (From: email@hidden)
 >Re: Webview reloading is blocked ? (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: Apple events from daemon process to application in Cocoa
  • Next by Date: Re: Uniform type identifier support in Cocoa or lack thereof
  • Previous by thread: Re: Webview reloading is blocked ?
  • Next by thread: "RegisterProcess failed (error = -50)" from child process
  • Index(es):
    • Date
    • Thread