use new layout guide API to fix compass offset problem
This commit is contained in:
@@ -42,6 +42,8 @@ llmr::Settings_NSUserDefaults *settings = nullptr;
|
||||
self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||
[self.view addSubview:self.mapView];
|
||||
|
||||
self.mapView.viewControllerForLayoutGuides = self;
|
||||
|
||||
settings = new llmr::Settings_NSUserDefaults();
|
||||
[self restoreState:nil];
|
||||
|
||||
|
||||
Submodule ios/mapbox-gl-cocoa updated: 1e008ce7dc...31b708821d
Reference in New Issue
Block a user