Files
MapLibreParticleLab/platform/ios/test/MGLTAppDelegate.m

20 lines
617 B
Objective-C

#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