Files
MapLibreParticleLab/test/ios/MGLTAppDelegate.m
2015-02-09 18:01:40 -08:00

19 lines
591 B
Objective-C

#import "MGLTAppDelegate.h"
#import "MGLTViewController.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