Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.