Re: estimatedProgress: not updating
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