• 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
Overlay over webView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Overlay over webView
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Newly inserted objects not retrieved with executeFetchRequest...
  • Next by Date: Re: Overlay over webView
  • Previous by thread: Re: Newly inserted objects not retrieved with executeFetchRequest...
  • Next by thread: Re: Overlay over webView
  • Index(es):
    • Date
    • Thread