From 35a7750f6822f674314e2e15d15b0ebdd26306d9 Mon Sep 17 00:00:00 2001 From: Fredrik Karlsson Date: Fri, 17 Nov 2017 15:17:04 +0100 Subject: [ios] update constraints when updating content inset --- platform/ios/src/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index f9690c70f0..08a78a584d 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -1049,7 +1049,7 @@ public: } // Compass, logo and attribution button constraints needs to be updated. - [self setNeedsLayout]; + [self setNeedsUpdateConstraints]; } /// Returns the frame of inset content within the map view. -- cgit v1.2.1