I am having more than one CAShapeLayer
.
While dragging two layers, I need to find whether it's intersecting are not.
But I tried in my way of calculating frame intersection and points intersection. But it's always returning frame as CGRectMake(0,0,0,0)
, I mean zero for all the layers frame as well the position too getting zero.
If any one knows give some idea.