diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-04-27 15:52:30 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-04-27 15:52:30 -0700 |
commit | 5ffa52cab5556639a327471e1927787af6a18231 (patch) | |
tree | 76cdadbc32cc24f44b0c76f7820d2b043ab3c9e1 /test/ios/MGLTViewController.m | |
parent | 30efdea552e62651102386d354e5841e97cacdf9 (diff) | |
download | qtlocation-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/ios/MGLTViewController.m')
-rw-r--r-- | test/ios/MGLTViewController.m | 1 |
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]; |