summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-06-19 11:07:24 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-06-19 11:07:24 -0700
commitafb7095ecc1cbe9c3e7a15f3e6e6723db080ade1 (patch)
treed7e0cd380b3cf9691866ed0af6aae4ba9b008861 /include
parentd786550677524dddd2ba04b2690fbdfb20a97292 (diff)
downloadqtlocation-mapboxgl-afb7095ecc1cbe9c3e7a15f3e6e6723db080ade1.tar.gz
refs #1759: remove header docs for now-unavailable API
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/ios/MGLAccountManager.h2
-rw-r--r--include/mbgl/ios/MGLMapView.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/mbgl/ios/MGLAccountManager.h b/include/mbgl/ios/MGLAccountManager.h
index 2efabf8941..9bfb3b497e 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 26a5051d41..fb6c11cc4b 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