summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-04-27 22:28:06 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-04-27 22:28:06 -0700
commit67fdfbadb3382e895d2d0bb622520fc481ae2ee8 (patch)
tree2ecc128d913c6c9c263b6e981b25fa8888a491cb /ios
parentf6ad59c33a3d1a42d9e18b927166546ac4ef3bb0 (diff)
parent5ffa52cab5556639a327471e1927787af6a18231 (diff)
downloadqtlocation-mapboxgl-67fdfbadb3382e895d2d0bb622520fc481ae2ee8.tar.gz
Merge pull request #1357 from mapbox/1ec5-view-controller
Automatically find view controller for layout guides
Diffstat (limited to 'ios')
-rw-r--r--ios/app/MBXViewController.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm
index 13235beb07..98c8e016db 100644
--- a/ios/app/MBXViewController.mm
+++ b/ios/app/MBXViewController.mm
@@ -67,7 +67,6 @@ mbgl::Settings_NSUserDefaults *settings = nullptr;
self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds accessToken:accessToken];
self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
- self.mapView.viewControllerForLayoutGuides = self;
self.mapView.showsUserLocation = YES;
self.mapView.delegate = self;
[self.view addSubview:self.mapView];