Re: Displaying a view modally (iPhone)
Re: Displaying a view modally (iPhone)
- Subject: Re: Displaying a view modally (iPhone)
- From: Alexander Spohr <email@hidden>
- Date: Wed, 21 Oct 2009 09:02:09 +0200
Mike,
you need a view that has the size of the window to cover it
completely. Otherwise touches will go down the responder chain and
reach other views.
What happens while you show the spinner?
If you load data from the net show the UIApps spinner at the top.
atze
Am 21.10.2009 um 02:26 schrieb Mike Manzano:
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