Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Problem with touch gesture recognizer in IOS

$
0
0

Hello,
I've a complex layout that is making me crazy because I'm trying to make working a tap gesture recognizer in my ios project that works fine in Android project but not in Apple one.

My layout is composed of different levels of grids, nested one inside others.

I tried with a lot of temptatives discovering that until the second level of grid I can use a tapgesture and my application receive a notification, while if I try to get a user input inside the second grid it doesn't work.

I tried with a tapgesture recognizer and with a simple button, but all the elements I have inside the second grid are not fired.
I also tried to use the InputTransparent property without success.
I also tried to create a custom rendered for the Grid where to set UserInteractionEnabled or to prevent to capture the input like explained in this thread:
https://forums.xamarin.com/discussion/55376/pass-click-tap-event-through-levels-of-relativelayout
but I wasn't able to find the right way to do it.

Can somebody point me in the right direction to have my tapgestures recognizers working in ios like they already do in Android?

Thank you


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>