diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index a01651359a..2d15841cab 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -20,12 +20,13 @@ You should not submit apps built with `6.2.0-beta.N` to the App Store. If you ne * Added `MGLNetworkConfiguration.connected` property to enforce `MGLMapView` to use cached tiles. ([#416](https://github.com/mapbox/mapbox-gl-native-ios/pull/416)) * Enabled local glyph rasterization for all writing systems. The new feature uses real glyph metrics and improves rendering quality for mixed (Latin / CJKV) labels. (#561) * Minimum and Maximum allowed values are now considered for style layer properties, as defined by the specification. If a style property is assigned with a value outside the allowed range, the property gets assigned with its default value instead. (#647) -* Fixed an issue that caused ornaments to consider safe areas when `MGLMapView.automaticallyAdjustsContentInset` is set to `NO`. ([#420](https://github.com/mapbox/mapbox-gl-native-ios/pull/420)) ### 🐞 Bug fixes * Fixed an issue where the map would hang periodically (on iOS 14 beta). ([#411](https://github.com/mapbox/mapbox-gl-native-ios/pull/411)) * Fixed a sporadic crash when the application "resigns active", for example, when showing Control Center. ([#412](https://github.com/mapbox/mapbox-gl-native-ios/pull/412)) +* Fixed an issue that caused ornaments to consider safe areas when `MGLMapView.automaticallyAdjustsContentInset` is set to `NO`. ([#420](https://github.com/mapbox/mapbox-gl-native-ios/pull/420)) +* Fixed an issue that caused rendering crashes when entering the background. ([#432](https://github.com/mapbox/mapbox-gl-native-ios/pull/432)) ### 🔧 Dependencies diff --git a/platform/ios/Integration Tests/MGLIntegrationTestCase.m b/platform/ios/Integration Tests/MGLIntegrationTestCase.m index fb7fd842d5..f3685be410 100644 --- a/platform/ios/Integration Tests/MGLIntegrationTestCase.m +++ b/platform/ios/Integration Tests/MGLIntegrationTestCase.m @@ -38,11 +38,11 @@ + (XCTestSuite*)defaultTestSuite { return newTestSuite; } -//- (void)invokeTest { -// @autoreleasepool { -// [super invokeTest]; -// } -//} +- (void)invokeTest { + @autoreleasepool { + [super invokeTest]; + } +} - (void)setUp { [super setUp]; diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 77f802fd27..3b191c1e9d 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -1133,7 +1133,7 @@ - (BOOL)renderSync if (after - before >= 1.0) { // See https://github.com/mapbox/mapbox-gl-native/issues/14232 - // and https://github.com/mapbox/xmapbox-gl-native-ios/issues/350 + // and https://github.com/mapbox/mapbox-gl-native-ios/issues/350 // This will be reported later _numberOfRenderCallsMoreThanOneSecond++; }