summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2019-09-04 12:18:22 -0700
committerGitHub <noreply@github.com>2019-09-04 12:18:22 -0700
commit74d6fdb533cb714d375571c71821641bb3a0e971 (patch)
treea763063f027c0ce1c0e7811bb52c3bb17d0fae9e
parentb07217bbdd435b378e8a492c5f535d3e892fa82e (diff)
downloadqtlocation-mapboxgl-74d6fdb533cb714d375571c71821641bb3a0e971.tar.gz
[ios, macos] Fix content inset documentation. (#15552)
-rw-r--r--platform/ios/src/MGLMapView.h4
-rw-r--r--platform/macos/src/MGLMapView.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index 6d9b30e467..017ba525c4 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -1314,8 +1314,8 @@ MGL_EXPORT
property may be overridden at any time.
Changing the value of this property updates the map view immediately. If you
- want to animate the change, use the `-setContentInset:animated:` method
- instead.
+ want to animate the change, use the `-setContentInset:animated:completionHandler:`
+ method instead.
*/
@property (nonatomic, assign) UIEdgeInsets contentInset;
diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h
index 7617063430..374d4eeab7 100644
--- a/platform/macos/src/MGLMapView.h
+++ b/platform/macos/src/MGLMapView.h
@@ -620,8 +620,8 @@ MGL_EXPORT IB_DESIGNABLE
the value of this property may be overridden at any time.
Changing the value of this property updates the map view immediately. If you
- want to animate the change, use the `-setContentInsets:animated:` method
- instead.
+ want to animate the change, use the `-setContentInset:animated:completionHandler:`
+ method instead.
*/
@property (nonatomic, assign) NSEdgeInsets contentInsets;