diff options
author | Brad Leege <bleege@gmail.com> | 2015-05-04 16:13:18 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-05-04 16:13:18 -0500 |
commit | 0e36bf1c8d620b55db1171a1575350e7e4ac699f (patch) | |
tree | 85882a9d1a8e619c28e7415066b2c8b47751b4c3 /ios/app | |
parent | f96046103f3800b95e80753f4b63435d4946fcd0 (diff) | |
download | qtlocation-mapboxgl-0e36bf1c8d620b55db1171a1575350e7e4ac699f.tar.gz |
#1225 - Restoring MapboxGL.h as an Umbrella header file by splitting the singleton code into MGLAccountManager.h and .m
Diffstat (limited to 'ios/app')
-rw-r--r-- | ios/app/MBXAppDelegate.m | 3 |
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]]; |