Merge pull request #14356 from volzhs/ios-delegate-master

use application:didFinishLaunchingWithOptions: instead of application…
This commit is contained in:
Rémi Verschelde 2017-12-07 09:33:34 +01:00 committed by GitHub
commit fbd270bfa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -564,7 +564,7 @@ static int frame_count = 0;
MainLoop::NOTIFICATION_OS_MEMORY_WARNING); MainLoop::NOTIFICATION_OS_MEMORY_WARNING);
}; };
- (void)applicationDidFinishLaunching:(UIApplication *)application { - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
printf("**************** app delegate init\n"); printf("**************** app delegate init\n");
CGRect rect = [[UIScreen mainScreen] bounds]; CGRect rect = [[UIScreen mainScreen] bounds];
@ -671,6 +671,7 @@ static int frame_count = 0;
isAdvertisingTrackingEnabled]]; isAdvertisingTrackingEnabled]];
#endif #endif
return TRUE;
}; };
- (void)applicationWillTerminate:(UIApplication *)application { - (void)applicationWillTerminate:(UIApplication *)application {