diff options
Diffstat (limited to 'platform/ios/demo/Examples/AppDelegate.m')
-rw-r--r-- | platform/ios/demo/Examples/AppDelegate.m | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/platform/ios/demo/Examples/AppDelegate.m b/platform/ios/demo/Examples/AppDelegate.m new file mode 100644 index 0000000000..09fe73a4b6 --- /dev/null +++ b/platform/ios/demo/Examples/AppDelegate.m @@ -0,0 +1,25 @@ +// +// AppDelegate.m +// Examples +// +// Created by Jason Wray on 1/26/16. +// Copyright © 2016 Mapbox. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Speed-up Core Animation-based animations in testing scenarios. + if ([[NSProcessInfo processInfo].arguments containsObject:@"useFastAnimations"]) { + self.window.layer.speed = 100; + } + + return YES; +} + +@end |