Re: Displaying a view modally
Re: Displaying a view modally
- Subject: Re: Displaying a view modally
- From: Saurabh Sharan <email@hidden>
- Date: Wed, 21 Oct 2009 17:54:53 -0700
Check out SFHudView by Buzz Andersen (
http://github.com/ldandersen/scifihifi-iphone/blob/master/UI/SFHFHUDView.h)
Saurabh
On Tue, Oct 20, 2009 at 5:26 PM, Mike Manzano
<email@hidden>wrote:
> Hi,
>
> I'd like to display a busy indicator view (HUD) regardless of whatever view
> is currently at the top of the view stack. I'd also like this view to
> display modally so that the user interface beneath it is dead to touch
> events. This is like Tweetie 2's HUD that appears when you've successfully
> posted something to Instapaper, with the difference that the UI underneath
> it wouldn't accept events as they do in Tweetie 2. I'd also like to have
> some control over animating the HUD onto and off of the screen.
>
> My current thinking is to find the topmost view controller somehow and send
> it presentModalViewController:animated:. However, I don't know how much
> control over animation I'd get with that method as the built-in animation
> styles sort of assume a full screen view. Also, I've never tried to use this
> method with a view that's smaller than the screen size.
>
> Another thought is to just add the view to the root view and bring it to
> the top (this however won't make the view modal as the views below will
> still respond to touch events).
>
> Can anyone tell me if I'm thinking along the right directions? I'd like to
> have some confirmation before I invest a bunch of time only to find out it's
> the wrong method.
>
> Thanks,
>
> Mike Manzano
> mike (at) instantvoodoomagic (dot) com
> http://instantvoodoomagic.com
> @instantvoodoo
>
> Oh BTW, the first reply that gets me closer to a solution gets a free promo
> code for Newsie (http://instantvoodoomagic.com/newsie), the Google Reader
> client for iPhone/iPod touch that I just released ;)
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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