summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-04-27 15:52:30 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-04-27 15:52:30 -0700
commit5ffa52cab5556639a327471e1927787af6a18231 (patch)
tree76cdadbc32cc24f44b0c76f7820d2b043ab3c9e1 /test
parent30efdea552e62651102386d354e5841e97cacdf9 (diff)
downloadqtlocation-mapboxgl-5ffa52cab5556639a327471e1927787af6a18231.tar.gz
Automatically find view controller for layout guides
Find the managing view controller by traversing the responder chain.
Diffstat (limited to 'test')
-rw-r--r--test/ios/MGLTViewController.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ios/MGLTViewController.m b/test/ios/MGLTViewController.m
index e8b500b430..bdce2202d7 100644
--- a/test/ios/MGLTViewController.m
+++ b/test/ios/MGLTViewController.m
@@ -12,7 +12,6 @@
_mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds
accessToken:@"pk.eyJ1IjoianVzdGluIiwiYSI6Ik9RX3RRQzAifQ.dmOg_BAp1ywuDZMM7YsXRg"];
- _mapView.viewControllerForLayoutGuides = self;
_mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self.view addSubview:_mapView];