ios CATTransferm3dMakeScale缩放动画

ios CATTransferm3dMakeScale缩放动画,ios,xcode,animation,subview,scaletransform,Ios,Xcode,Animation,Subview,Scaletransform,我有以下动画: CATransform3D scaleTransform = CATransform3DMakeScale(0.1,0.1, 1.0); scaleAnimation.toValue = [NSValue valueWithCATransform3D:scaleTransform]; keyframeAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEa

我有以下动画:

CATransform3D scaleTransform = CATransform3DMakeScale(0.1,0.1, 1.0);
scaleAnimation.toValue = [NSValue valueWithCATransform3D:scaleTransform];
keyframeAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn];;
我正在缩小一个子视图。但我正试图做相反的事情。从子视图大小的.01%开始,转到子视图大小的100%。有人知道我该怎么做吗?

这样做:

yourSubView.transform = CGAffineTransformMakeScale(0.01, 0.01);
[UIView animateWithDuration:0.4 delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ 
//change time duration according to requirement
// animate it to the identity transform (100% scale)
yourSubView.transform = CGAffineTransformIdentity;
} completion:^(BOOL finished){
// if you want to do something once the animation finishes, put it here
}];

如何使用上面的代码向动画添加一些运动,如CGPathMoveToPoint?