diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-10-15 14:16:27 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-10-22 14:27:58 -0700 |
commit | 4f509288b7c671db96555a24a4f490311adfc13a (patch) | |
tree | fb5daacf2f38c29dbf688f59a87ad92918868220 /platform | |
parent | e3934df8d479153dee5694d7cab2776e9cfa1708 (diff) | |
download | qtlocation-mapboxgl-4f509288b7c671db96555a24a4f490311adfc13a.tar.gz |
[iOS] Removed long-unavailable APIs
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 6977b1de24..0e7547ef1b 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -172,24 +172,6 @@ std::chrono::steady_clock::duration secondsAsDuration(float duration) return self; } -- (nullable NSString *)accessToken -{ - [NSException raise:@"Method unavailable" format: - @"%s has been removed. " - @"Use +[MGLAccountManager accessToken] or get MGLMapboxAccessToken from the Info.plist.", - __PRETTY_FUNCTION__]; - return nil; -} - -- (void)setAccessToken:(nullable NSString *)accessToken -{ - [NSException raise:@"Method unavailable" format: - @"%s has been replaced by +[MGLAccountManager setAccessToken:].\n\n" - @"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. " - @"Then go to the Info.plist file and set MGLMapboxAccessToken to “%@”.", - __PRETTY_FUNCTION__, accessToken]; -} - + (NS_SET_OF(NSString *) *)keyPathsForValuesAffectingStyleURL { return [NSSet setWithObjects:@"styleURL__", nil]; |