summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2019-09-03 15:51:27 -0700
committerFabian Guerra <fabian.guerra@mapbox.com>2019-09-03 15:51:27 -0700
commit061d9f115bb99822f26b2fd0d30bdc47d6c3db42 (patch)
tree7d037381948420966de4c67171d231136982cf30
parent1ef763c98e540b0a347cd59ab040a0449df4a14c (diff)
downloadqtlocation-mapboxgl-upstream/fabian-doc-update.tar.gz
[ios, macos] Fix content inset documentation.upstream/fabian-doc-update
-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;