• 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: estimatedProgress: not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: estimatedProgress: not updating


  • Subject: Re: estimatedProgress: not updating
  • From: Eamon Ford <email@hidden>
  • Date: Wed, 28 Dec 2005 10:33:53 -0800

Yeah, there's only one frame in the web page I was trying to load.
Thanks for the suggestions.


On Dec 28, 2005, at 10:21 AM, Shawn Erickson wrote:

On 12/28/05, Eamon Ford <email@hidden> wrote:
I tried putting an NSLog() statement in
webView:didFinishLoadForFrame:, and it got called. So yeah, it thinks
things are done loading.

Did you get that for all frames the WebKit is attempting to load and
display? (web-pages can be made of many frames)

I suggest you listen for the notifications to make sure or at least
also implement webView:didStartProvisionalLoadForFrame: to see if you
get a webView:didFinishLoadForFrame: message for every frame that was
attempted to be loaded (not sure how redirects play into this). Or it
would likely be easier to detect the main frame (-[WebView mainFrame]
== sender) in your delegate method(s) to make sure you are getting the
load complete for the whole of the page the WebView is attempting to
display (aka the top-level frame).

Also consider implementing webView:didFailLoadWithError:forFrame: and
webView:didFailProvisionalLoadWithError:forFrame: to detect load
errors.

-Shawn

_______________________________________________
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: 
 >estimatedProgress: not updating (From: Eamon Ford <email@hidden>)
 >Re: estimatedProgress: not updating (From: Shawn Erickson <email@hidden>)
 >Re: estimatedProgress: not updating (From: Eamon Ford <email@hidden>)
 >Re: estimatedProgress: not updating (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Embedding Flash in .app
  • Next by Date: Re: Cocoa NIB Design Question in JPG
  • Previous by thread: Re: estimatedProgress: not updating
  • Next by thread: Re: estimatedProgress: not updating
  • Index(es):
    • Date
    • Thread