2

I'm trying to write interactive animations between 2 view controllers that involves pinching in a collection view cell to (interactively) reveal the next view controller. When I implemented this without interactive animations, it looked great with spring animations:

[UIView animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:]

However, after adding in the interactive logic with UIPercentDrivenInteractiveTransition and a UIPinchGestureRecognizer, I realized that the spring animation call doesn't work as well. If I pinch halfway and let go, it suddenly jumps to the last keyframe of my animation, and doesn't give me the smooth animation that I got when using the normal [UIView animateWithDuration:] call.

Any ideas?

modusCell
  • 13,151
  • 9
  • 53
  • 80
quantum
  • 1,400
  • 6
  • 21
  • 34
  • Possibly related to [this question](http://stackoverflow.com/questions/22868376/uipercentdriveninteractivetransition-with-cabasicanimation) – bcattle Sep 19 '14 at 21:54
  • Try `UIViewAnimationOptionAllowUserInteraction|UIViewAnimationOptionBeginFromCurrentState` as options – Maciej Swic Jun 25 '15 at 08:15

0 Answers0