摘要:
CGPointfromPoint=imageView.center;//路径曲线UIBezierPath*movePath=[UIBezierPathbezierPath];[movePathmoveToPoint:fromPoint];CGPointtoPoint=view.center;[movePathaddLineToPoint:toPoint];//关键帧CAKeyframeAnimation*moveAnim=[CAKeyframeAnimationanimationWithKeyPath:@"position"];moveAnim.path=movePath. 阅读全文