Files
MapLibreParticleLab/test/ios/MGLTAppDelegate.m
2015-05-21 03:13:55 -07:00

20 lines
612 B
Objective-C

#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