I have created a spider chart by overiding draw rect, I am using core grahics CAShapeLayer to draw my areas, there are multiple CAShapeLayer regions which are created on the screen, I want to detect which layer is touched when the users touches… but I can’t figure out how?
Share
First, you should not be drawing layers in drawRect, but that is not your question. To identify a layer that is “touched” you can do something like this…