You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: include/mbgl/ios/MGLAccountManager.h
-2
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,6 @@ NS_ASSUME_NONNULL_BEGIN
21
21
22
22
/** @name Providing User Metrics Opt-Out */
23
23
24
-
+ (void)setMapboxMetricsEnabledSettingShownInApp:(BOOL)showsOptOut __attribute__((unavailable("Set MGLMapboxMetricsEnabledSettingShownInApp in Info.plist.")));
25
-
26
24
/** 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. */
Copy file name to clipboardexpand all lines: include/mbgl/ios/MGLMapView.h
-12
Original file line number
Diff line number
Diff line change
@@ -33,24 +33,12 @@ IB_DESIGNABLE
33
33
* @param frame The frame for the view, measured in points.
34
34
* @return An initialized map view. */
35
35
- (instancetype)initWithFrame:(CGRect)frame;
36
-
- (instancetype)initWithFrame:(CGRect)frameaccessToken:(NSString *)accessToken __attribute__((unavailable("Use -initWithFrame:. Set MGLMapboxAccessToken in the Info.plist or call +[MGLAccountManager setAccessToken:].")));
37
36
38
37
/** Initializes and returns a newly allocated map view with the specified frame and style URL.
39
38
* @param frame The frame for the view, measured in points.
40
39
* @param styleURL The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (`mapbox://styles/<user>/<style>`). Specify `nil` for the default style.
- (instancetype)initWithFrame:(CGRect)frameaccessToken:(NSString *)accessTokenstyleURL:(nullable NSURL *)styleURL __attribute__((unavailable("Use -initWithFrame:styleURL:. Set MGLMapboxAccessToken in the Info.plist or call +[MGLAccountManager setAccessToken:].")));
@"%s has been replaced by +[MGLAccountManager setAccessToken:].\n\n"
188
-
@"If you previously set this access token in a storyboard inspectable, select the MGLMapView in Interface Builder and delete the “accessToken” entry from the User Defined Runtime Attributes section of the Identity inspector. "
189
-
@"Then go to the Info.plist file and set MGLMapboxAccessToken to “%@”.",
0 commit comments