Adding gesture recognizers to SKCanvasView custom renderer.

logn5logn5 Member ✭✭

Hello, I have created class that inherits from SKCanvasView. All it does is override OnTouch() method. Now I need to add TapGestureRecognizer to it, but for some reason I can't. However when I tried to add the recognizer to original SKCanvasView class object it worked fine. Do I need to add something to my class to enable gesture recognizers?

Best Answer

Answers

  • logn5logn5 Member ✭✭

    Well, thing was that for some reason I put e.Handled; in my OnTouch() method and I forgot about it. Guess working 11 hours straight is too much for me. Thanks for Your time.

Sign In or Register to comment.