Um, have to follow up to myself...
Am 10.12.2009 um 08:02 schrieb Alexander Spohr:
> Am 10.12.2009 um 04:34 schrieb Eric E. Dolecki:
>
>> Well - I wonder if it's possible to enable touches in a sub view but not for
>> the entire view - just part of it.
>>
>> I have a view with buttons in it. I call up a sub view that requires touches
>> for swiping... I want the buttons in the view below to still register touch
>> events for that entire view.
>
> Usually the superview of the buttons would handle swipes.
> If you have buttons put them on top (as a subview) of your swipe receiver.
>
> Or - as was pointed out - let the controller catch all touches.
If your swipe view and buttons are in the same hierarchy
- (void)bringSubviewToFront:(UIView *)view
- (void)sendSubviewToBack:(UIView *)view
should help.
But as these are in the docs of UIView I am sure you already found them. ;)
atze
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]