From e8c19eead79f7090591d26a848184d9a6205fa9b Mon Sep 17 00:00:00 2001 From: Fabian Guerra Date: Mon, 30 Sep 2019 15:31:55 -0700 Subject: [ios] Fix pinch test. --- platform/ios/test/MGLMapViewPitchTests.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/ios/test/MGLMapViewPitchTests.m b/platform/ios/test/MGLMapViewPitchTests.m index 3e9311dbd4..fa657eb994 100644 --- a/platform/ios/test/MGLMapViewPitchTests.m +++ b/platform/ios/test/MGLMapViewPitchTests.m @@ -2,6 +2,7 @@ #import @interface MockUIPanGestureRecognizer : UIPanGestureRecognizer +@property(nonatomic, readwrite) UIGestureRecognizerState state; @property NSUInteger mbx_numberOfFingersForGesture; @property CGPoint mbx_middlePoint; @property CGPoint mbx_westPoint; @@ -9,6 +10,9 @@ @end @implementation MockUIPanGestureRecognizer + +@synthesize state; + - (instancetype)initWithTarget:(id)target action:(SEL)action { if (self = [super initWithTarget:target action:action]) { self.mbx_numberOfFingersForGesture = 2; -- cgit v1.2.1