From afb7095ecc1cbe9c3e7a15f3e6e6723db080ade1 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Fri, 19 Jun 2015 11:07:24 -0700 Subject: [PATCH] refs #1759: remove header docs for now-unavailable API --- include/mbgl/ios/MGLAccountManager.h | 2 -- include/mbgl/ios/MGLMapView.h | 1 - 2 files changed, 3 deletions(-) diff --git a/include/mbgl/ios/MGLAccountManager.h b/include/mbgl/ios/MGLAccountManager.h index 2efabf894..9bfb3b497 100644 --- a/include/mbgl/ios/MGLAccountManager.h +++ b/include/mbgl/ios/MGLAccountManager.h @@ -21,8 +21,6 @@ NS_ASSUME_NONNULL_BEGIN /** @name Providing User Metrics Opt-Out */ -/** Certain Mapbox plans require the collection of user metrics. If you aren't using a preference switch in an existing or new `Settings.bundle` in your application, set this value to `YES` to indicate that you are providing a metrics opt-out for users within your app's interface directly. -* @param showsOptOut Whether your application's interface provides a user opt-out preference. The default value is `NO`, meaning a `Settings.bundle` is expected for providing a user opt-out preference. */ + (void)setMapboxMetricsEnabledSettingShownInApp:(BOOL)showsOptOut __attribute__((unavailable("Set MGLMapboxMetricsEnabledSettingShownInApp in Info.plist."))); /** Whether in-app user metrics opt-out is configured. If set to the default value of `NO`, a user opt-out preference is expected in a `Settings.bundle` that shows in the application's section within the system Settings app. */ diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h index 26a5051d4..fb6c11cc4 100644 --- a/include/mbgl/ios/MGLMapView.h +++ b/include/mbgl/ios/MGLMapView.h @@ -42,7 +42,6 @@ IB_DESIGNABLE /** @name Authorizing Access */ -/** Mapbox API access token for the map view. */ @property (nonatomic, nullable) NSString *accessToken __attribute__((unavailable("Use +[MGLAccountManager accessToken] and +[MGLAccountManager setAccessToken:]."))); #pragma mark - Managing Constraints