Re: Question about touchesBegan
Re: Question about touchesBegan
- Subject: Re: Question about touchesBegan
- From: Benjamin Stiglitz <email@hidden>
- Date: Wed, 16 Dec 2009 14:34:01 -0500
- Mail-followup-to: email@hidden
> I'll elaborate a little more. I have a main view with some source buttons
> (UIButton) at the top. When I click one, I bring up a radio style tuner bar
> in a subview (animates up from the bottom). I am using touches to move the
> "pointer" in that subView. Works great, however because the subView is
> detecting touches for the whole subView - it prevents touches on those
> buttons in the main view. Do I simply need to architect this in another way?
> Say create a subview of just the UIButtons at the top of all subViews?
That would work. You could also override -hitTest:withEvent:.
-Ben
_______________________________________________
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