开发者

how to get notify when image is animating over defined path

I have a image which is animating all over screen randomly using image layer addAnimation. I have added a开发者_C百科round 15 points using CGPathAddLineToPoint.

So my problem is how to get notify my touches over that animating image.

I cant use

if((CGRectContainsPoint([myImage frame], [touch locationInView:touch.view])))

Because anytime the frame will be last point added using CGPath.

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜