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/MGLMapView.h
+2-2
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,14 @@ IB_DESIGNABLE
22
22
23
23
/** Initializes and returns a newly allocated map view with the specified frame and the default style.
24
24
* @param frame The frame for the view, measured in points.
25
-
* @return An initialized map view or `nil` if the map view couldn’t be created. */
25
+
* @return An initialized map view. */
26
26
- (instancetype)initWithFrame:(CGRect)frame;
27
27
- (instancetype)initWithFrame:(CGRect)frameaccessToken:(NSString *)accessToken __attribute__((unavailable("Use -initWithFrame:. Set MGLMapboxAccessToken in the Info.plist or call +[MGLAccountManager setAccessToken:].")));
28
28
29
29
/** Initializes and returns a newly allocated map view with the specified frame and style URL.
30
30
* @param frame The frame for the view, measured in points.
31
31
* @param styleURL The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (`mapbox://<user.style>`).
32
-
* @return An initialized map view or `nil` if the map view couldn’t be created. */
- (instancetype)initWithFrame:(CGRect)frameaccessToken:(NSString *)accessTokenstyleURL:(NSURL *)styleURL __attribute__((unavailable("Use -initWithFrame:styleURL:. Set MGLMapboxAccessToken in the Info.plist or call +[MGLAccountManager setAccessToken:].")));
0 commit comments