i use UIPanGestureRecognizer to move an object along the path drawn by the user. But this object is animating and i need to interact with it during animation. Is it possible? I already try to use UIViewAnimationOptionAllowUserInteraction but no results.
i use UIPanGestureRecognizer to move an object along the path drawn by the user.
Share
Yes it is possible. But I would use
CABasicAnimationfor animating the object and not theUIView animationWith...and then add theUIPanGestureRecognizerto the object. So some example code: