diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2017-11-17 15:17:04 +0100 |
---|---|---|
committer | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2017-12-14 12:38:55 -0600 |
commit | 74b06274326de3c4d9cb34cd70497bd8d85a1e58 (patch) | |
tree | cd98b57bd3ea31eeadb4b902b373f38b72cfda48 | |
parent | 177afa9a0d0e97257c86d9f0e8cb91e34e8afe2d (diff) | |
download | qtlocation-mapboxgl-74b06274326de3c4d9cb34cd70497bd8d85a1e58.tar.gz |
[ios] update constraints when updating content inset
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 6215d4b7c9..3b6ea82ed2 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -1053,7 +1053,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. |