From 74d6fdb533cb714d375571c71821641bb3a0e971 Mon Sep 17 00:00:00 2001 From: Fabian Guerra Soto Date: Wed, 4 Sep 2019 12:18:22 -0700 Subject: [ios, macos] Fix content inset documentation. (#15552) --- platform/ios/src/MGLMapView.h | 4 ++-- platform/macos/src/MGLMapView.h | 4 ++-- 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; -- cgit v1.2.1