To pretend to βgrowβ in place, do not animate the frame. Animate the transformation.
Load your sub-tier from the tip. Set its conversion to scale 0:
view.transform = CGAffineTransformMakeScale(1,1);
Then add it to your supervisor.
Inside the animation block, set the value for the conversion:
view.transform = CGAffineTransformIdentity;
And the performance will grow to a normal size. You may need to bother with the anchor point to make it grow from the right point.
You can also change the frame inside the block, but for moving only I prefer to change the property of the center, you should not try to set the frame if you also have a transformation.
Hope this helps you!
EDIT: Replace the animation block code with the following code:
[UIView animateWithDuration:1.5 delay:0.0 options: UIViewAnimationOptionCurveEaseInOut animations:^{ CGAffineTransform newTransform; newTransform = CGAffineTransformMakeScale(0, 0); con.transform = CGAffineTransformScale(newTransform,2,2); } completion:^(BOOL finished){ }];
source share