summaryrefslogtreecommitdiff
path: root/test/ios/MGLTAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ios/MGLTAppDelegate.m')
-rw-r--r--test/ios/MGLTAppDelegate.m18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/ios/MGLTAppDelegate.m b/test/ios/MGLTAppDelegate.m
new file mode 100644
index 0000000000..4bd6b64882
--- /dev/null
+++ b/test/ios/MGLTAppDelegate.m
@@ -0,0 +1,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