At some point in my app, a user can move a UIView
after a long press on that view. This works fine.
When the view passes over a specific region, the app has to switch to another UIViewController
. The moving view is attached to this new controller. So far so good.
The problem is that now the moving view is not moving anymore (i.e. it doesn't follow the finger of the user) :-(
Seems this issue is related to the UILongPressGestureRecognizer
that was fired in a ViewController that is not active anymore.
Any idea how I could handle that ?