summaryrefslogtreecommitdiff
path: root/platform/ios/app
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-07-19 15:22:17 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-07-19 15:22:17 -0700
commit1cf6b5de0c720d2550b4515daed7460f4b51506e (patch)
tree8e3ede72b5d5f8cb06e0bb98728db8fd417c94ab /platform/ios/app
parent1972d932d5a69f3a9cdf1e76d87d482bdc256373 (diff)
parent59f1b2b210318e204ebb2b7423ae5c0e8790dd3a (diff)
downloadqtlocation-mapboxgl-1cf6b5de0c720d2550b4515daed7460f4b51506e.tar.gz
Merge branch 'release-ios-v3.3.0'
Diffstat (limited to 'platform/ios/app')
-rw-r--r--platform/ios/app/MBXViewController.m2
-rw-r--r--platform/ios/app/Main.storyboard2
2 files changed, 1 insertions, 3 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 6158a9a3de..789ee00372 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -411,7 +411,6 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
{
if (longPress.state == UIGestureRecognizerStateBegan)
{
- /*
CGPoint point = [longPress locationInView:longPress.view];
NSArray *features = [self.mapView visibleFeaturesAtPoint:point];
NSString *title;
@@ -428,7 +427,6 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
pin.subtitle = [[[MGLCoordinateFormatter alloc] init] stringFromCoordinate:pin.coordinate];
// Calling `addAnnotation:` on mapView is not required since `selectAnnotation:animated` has the side effect of adding the annotation if required
[self.mapView selectAnnotation:pin animated:YES];
- */
}
}
diff --git a/platform/ios/app/Main.storyboard b/platform/ios/app/Main.storyboard
index 1190070d8e..7d8b2c304f 100644
--- a/platform/ios/app/Main.storyboard
+++ b/platform/ios/app/Main.storyboard
@@ -79,7 +79,7 @@
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="AAd-8J-9UU" userLabel="First Responder" sceneMemberID="firstResponder"/>
- <pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="0.5" id="lfd-mn-7en">
+ <pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="1" id="lfd-mn-7en">
<connections>
<action selector="handleLongPress:" destination="WaX-pd-UZQ" id="dkk-bc-rvl"/>
</connections>