I've been taking advantage of the fact that UIView's don't clip to their bounds 
by making my superview of size CGSizeZero and adding content to it. This means 
I can position the whole view hierarchy using its center, which is always at 
(0,0). This is very useful as my view has subviews which move all over the 
place and I really only care about the top left, the superview is just a 
convenient canvas to hang them on. 

I got bitten by that today however because none of my subviews get touches, I 
believe that's because a touch outside the superview bounds is ignored, the 
views are shown, they aren't clipped, but the touches are 'clipped'. 

Is there method call to tell a view to hitTest: out of its own bounds, just 
considering the subviews? _______________________________________________

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]

Reply via email to