On Nov 12, 2009, at 11:53 PM, Tino Rachui wrote: > I have a UIView and a hierarchy of CALayers added to the views layer. When a > touch event occurs I can get the 'locationInView' for instance but what is > the best way to find the top most visible CALayer in the views layer > hierarchy? I played a bit with 'hitTest' but in vain so far. Maybe I'm doing > something fundamentally wrong. Suggestions much appreciated.
What is wrong with -hitTest:? It is exactly what you should be using. -- David Duncan Apple DTS Animation and Printing _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com