ios - UIView spring animations and UIPercentDrivenInteractiveTransition -
i'm trying write interactive animations between 2 view controllers involves pinching in collection view cell (interactively) reveal next view controller. when implemented without interactive animations, looked great spring animations:
[uiview animatewithduration:delay:usingspringwithdamping:initialspringvelocity:options:animations:completion:]
however, after adding in interactive logic uipercentdriveninteractivetransition
, uipinchgesturerecognizer
, realized spring animation call doesn't work well. if pinch halfway , let go, jumps last keyframe of animation, , doesn't give me smooth animation got when using normal [uiview animatewithduration:]
call.
any ideas?
Comments
Post a Comment