Files
MapLibreParticleLab/platform/ios/benchmark/MBXBenchAppDelegate.mm
Alex Cristici 8ad5f9c1fd Benchmark app frame time improvements (#1776)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-03 23:03:52 +01:00

25 lines
633 B
Plaintext

#import "Mapbox.h"
#import "MBXBenchAppDelegate.h"
#import "MBXBenchViewController.h"
@implementation MBXBenchAppDelegate
- (BOOL)application:(UIApplication*)application
didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
#ifndef MLN_DISABLE_LOGGING
[MLNLoggingConfiguration sharedConfiguration].loggingLevel = MLNLoggingLevelFault;
#endif
[MLNSettings useWellKnownTileServer:MLNMapTiler];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = [MBXBenchViewController new];
[self.window makeKeyAndVisible];
return YES;
}
@end