Skip to content

Commit

Permalink
[UIKit] Fixes UIGestureRecognizer default introduced in iOS 13.4
Browse files Browse the repository at this point in the history
Fixes xamarin/Xamarin.Forms#10162
Fixes xamarin#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.
  • Loading branch information
dalexsoto authored and monojenkins committed Apr 1, 2020
1 parent 786bfc0 commit ef5be5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uikit.cs
Expand Up @@ -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);
}

Expand Down

0 comments on commit ef5be5b

Please sign in to comment.