Overlay over webView
Overlay over webView
- Subject: Overlay over webView
- From: Jon Hull <email@hidden>
- Date: Tue, 14 Aug 2007 05:21:19 -0700
I have an app with a webView that requires that the user wait until
the page is completely loaded before they can click on any links. I
would like to display a grey rounded rect containing an indeterminate
progress wheel and the text "loading..." above the view while it is
loading.
I can think of two possible ways to do this:
1)Subclass the webView (ick)
2)Create a transparent window above the webView while the page is
loading
The second seems like a better option to me. There is one problem
however... If the user drags the underlying window while the page is
loading... then the illusion is ruined. I also want the window
containing the webView to retain focus while the overlay is above it.
Is there a way to tie the windows together (similar to a sheet)?
Has anyone solved this already? Am I missing something? Comments?
Ideas?
Thanks,
Jon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden