jjzjj

fishContainer

全部标签

iphone - 使用 CAAnimation 检测正在动画的 uiview subview 的触摸

我正在尝试检测动画View的UISubview上的触摸这是我的检测代码://simplebutnotveryelegantwayofgettingcorrectframeCGRectkeepFrame=self.fishContainer.layer.frame;self.fishContainer.layer.frame=[[self.fishContainer.layerpresentationLayer]frame];//gettouchlocation,takingpresentationlayerintoaccount.(Seeabove)CGPointp=[senderlo