summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorSamantha Houts <samantha.houts@xamarin.com>2016-03-30 12:01:54 -0700
committerSamantha Houts <samantha.houts@xamarin.com>2016-03-30 12:01:54 -0700
commit16887287375dd5348d5800a14b92116ccfeba220 (patch)
tree703791562306ce03d8c0dcfa3ede77db5be833d5 /Xamarin.Forms.Platform.iOS
parentec0675950bd6123694bbe846f103b835fb31f5ad (diff)
downloadxamarin-forms-16887287375dd5348d5800a14b92116ccfeba220.tar.gz
xamarin-forms-16887287375dd5348d5800a14b92116ccfeba220.tar.bz2
xamarin-forms-16887287375dd5348d5800a14b92116ccfeba220.zip
[iOS] PageRenderer no longer swallows touches
Will allow users to create custom renderers that have touch events.
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
index ddc0d39e..12a131f4 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/PageRenderer.cs
@@ -94,7 +94,7 @@ namespace Xamarin.Forms.Platform.iOS
uiTapGestureRecognizer.ShouldRecognizeSimultaneously = (recognizer, gestureRecognizer) => true;
uiTapGestureRecognizer.ShouldReceiveTouch = OnShouldReceiveTouch;
- uiTapGestureRecognizer.DelaysTouchesBegan = uiTapGestureRecognizer.DelaysTouchesEnded = false;
+ uiTapGestureRecognizer.DelaysTouchesBegan = uiTapGestureRecognizer.DelaysTouchesEnded = uiTapGestureRecognizer.CancelsTouchesInView = false;
View.AddGestureRecognizer(uiTapGestureRecognizer);
UpdateBackground();