summaryrefslogtreecommitdiff
path: root/ios/app
diff options
context:
space:
mode:
Diffstat (limited to 'ios/app')
-rw-r--r--ios/app/MBXAppDelegate.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/ios/app/MBXAppDelegate.m b/ios/app/MBXAppDelegate.m
index 4d314483ae..0a81e83fb8 100644
--- a/ios/app/MBXAppDelegate.m
+++ b/ios/app/MBXAppDelegate.m
@@ -1,6 +1,7 @@
#import "MBXAppDelegate.h"
#import "MBXViewController.h"
#import <mbgl/ios/MapboxGL.h>
+#import <mbgl/ios/MGLAccountManager.h>
#import <mbgl/ios/MGLMapboxEvents.h>
@implementation MBXAppDelegate
@@ -20,7 +21,7 @@
}
if ( ! accessToken) NSLog(@"No access token set. Mapbox vector tiles won't work.");
- [MapboxGL sharedInstanceWithAccessToken:accessToken];
+ [MGLAccountManager sharedInstanceWithAccessToken:accessToken];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[MBXViewController new]];