diff options
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index c002da5f18..4430480ff3 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -389,7 +389,9 @@ public: _accessibilityCompassFormatter.unitStyle = NSFormattingUnitStyleLong; self.backgroundColor = [UIColor clearColor]; self.clipsToBounds = YES; +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 if (@available(iOS 11.0, *)) { self.accessibilityIgnoresInvertColors = YES; } +#endif // setup mbgl view _mbglView = new MBGLView(self); |