diff options
Diffstat (limited to 'platform/ios/test/MGLTAppDelegate.m')
-rw-r--r-- | platform/ios/test/MGLTAppDelegate.m | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/ios/test/MGLTAppDelegate.m b/platform/ios/test/MGLTAppDelegate.m new file mode 100644 index 0000000000..b79c2f4abb --- /dev/null +++ b/platform/ios/test/MGLTAppDelegate.m @@ -0,0 +1,19 @@ +#import "MGLTAppDelegate.h" +#import "MGLTViewController.h" +#import <Mapbox/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 |