Do CALayers block touch events on base views?
I have an application with a view that contains multiple subzones. Subsections did not implement any touchhesbegins logic. Superview implemented all the logic of the touchhesbegins and manipulated each subzone accordingly if it was affected (determined by hit testing).
I have since converted my subzones to layers. My problem is that if I touch the layer the super layer hosting view will never get the touchhesbegins method called. However, if I touch the background, the touchhesbegin method fires.
I understood from the documentation that layers cannot handle events, if so why is it blocking events in the hosting view?
Thanks for any help, can't get around this.
-Corey
0
source to share
3 answers