From b75deaf8277c77200bdb9349d7e677ab07622fad Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Wed, 1 Apr 2020 16:13:45 -0400 Subject: [PATCH] [UIKit] Fixes UIGestureRecognizer default introduced in iOS 13.4 (#8261) Fixes xamarin/Xamarin.Forms#10162 Fixes xamarin/xamarin-macios#8255 Xcode 11.4 introduced a new protocol member to `UIGestureRecognizerDelegate` and our initial proposed default value for `ShouldReceiveEvent` is not playing well with the world. --- src/uikit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uikit.cs b/src/uikit.cs index fdfe3c4d74bd..c0ad08f99791 100644 --- a/src/uikit.cs +++ b/src/uikit.cs @@ -6113,7 +6113,7 @@ interface UIGestureRecognizerDelegate { bool ShouldReceivePress (UIGestureRecognizer gestureRecognizer, UIPress press); [TV (13,4), iOS (13,4)] - [Export ("gestureRecognizer:shouldReceiveEvent:"), DelegateName ("UIGesturesEvent"), DefaultValue (false)] + [Export ("gestureRecognizer:shouldReceiveEvent:"), DelegateName ("UIGesturesEvent"), DefaultValue (true)] bool ShouldReceiveEvent (UIGestureRecognizer gestureRecognizer, UIEvent @event); }