From 061d9f115bb99822f26b2fd0d30bdc47d6c3db42 Mon Sep 17 00:00:00 2001 From: Fabian Guerra Date: Tue, 3 Sep 2019 15:51:27 -0700 Subject: [ios, macos] Fix content inset documentation. --- 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