blob: 3fa68b6da159943943b60d31c90a9a4a2cfe431a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#import "MGLTAppDelegate.h"
#import "MGLTViewController.h"
#import "MapboxGL.h"
@implementation MGLTAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
UINavigationController *wrapper = [[UINavigationController alloc] initWithRootViewController:[MGLTViewController new]];
self.window.rootViewController = wrapper;
wrapper.navigationBarHidden = YES;
wrapper.toolbarHidden = YES;
[self.window makeKeyAndVisible];
return YES;
}
@end
|