ios - How to make scaling to persist with CABasicAnimation -


I am creating some animation on my app and the code below will disappear until an object is zoomed out is. I can not understand how the object disappears and stay that way, that is How to finish it after the animation remains. Got anybody on that? Cheers!

CABasicAnimation * zoomOut = [with CABasic Animation Animation: @ "Transform Escal"]; ZoomOut.duration = 1; ZoomOut.toValue = [NSNumber Number explosion: 0]; [Dragged Object Ad Animation: ZoomOut Foreke: Nile]; This is because the animation does not actually change the underlying asset, which is the same. The reason is that after the animation is completed it jumps back.

Try adding this line before the animation starts - zoomout. RemovedOnCompletion = NO;


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -