summaryrefslogtreecommitdiff
path: root/test/ios/MGLTAppDelegate.m
blob: 4bd6b6488241200fe817400cebd203e3eef1da4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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