summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/app/MBXAppDelegate.m')
-rw-r--r--platform/ios/app/MBXAppDelegate.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/ios/app/MBXAppDelegate.m b/platform/ios/app/MBXAppDelegate.m
index 9932356e6e..3617a388ed 100644
--- a/platform/ios/app/MBXAppDelegate.m
+++ b/platform/ios/app/MBXAppDelegate.m
@@ -1,6 +1,7 @@
#import "MBXAppDelegate.h"
#import "MBXViewController.h"
#import <Mapbox/Mapbox.h>
+#import <MapboxGL-Swift.h>
NSString * const MBXMapboxAccessTokenDefaultsKey = @"MBXMapboxAccessToken";
@@ -25,6 +26,13 @@ NSString * const MBXMapboxAccessTokenDefaultsKey = @"MBXMapboxAccessToken";
[MGLLoggingConfiguration sharedConfiguration].loggingLevel = MGLLoggingLevelFault;
#endif
}
+
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+
+ MBXOverflowViewController *controller = [[MBXOverflowViewController alloc] init];
+
+ self.window.rootViewController = controller;
+ [self.window makeKeyAndVisible];
return YES;
}