Your questions:
How to unregister tgr2 using tgr1?
You have many options.
- You can remove it from the view.
- You can disable tgr2.
- In order to keep the two recognized, you will need to create a new recognizer, the equal of which needs to fail and add it, I do not know how to remove the dependency between them, and I do not know if there is a way.
Is tgr2 running, or does tgr1 now have a link?
tgr2 will not increment the counter when adding requireGestureRecognizerToFail with tgr2 when added to tgr1.
If not, will tgr2 issue?
No, this will not cause a problem, only tgr2 will always fail and will cause tgr1
source share