I have a main layer that has 4 circle layers and there is a text layer inside each circle:
main layer - & gt; (4) circle layer - & gt; (1) Textile
I am performing the hit test on the main layer and I want to get the circle that was clicked. It works fine, but when I tap into the text area, I do not return the text layer and not the circle layer.
In AS3 you have
Mouseover = True / False How can I get this functionality in Objective-C?
thanks
sat
simply superlayer Use the property, such as: if ([thelayer isKindOfClass: [CATextLayer class]]) theLayer = theLayer.superlayer; In other words, if you have already received the circle layer, then theLayer does not change; If this text is one of Saberar, the theLayer change is to indicate the layer in which the sub-change occurs.
Comments
Post a Comment