blob: ba49f96d226aaf98a3f6c41c2f6f0c4084b17ad3 (
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 "Mapbox.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
|