1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

use application:didFinishLaunchingWithOptions: instead of applicationDidFinishLaunching: for iOS

This commit is contained in:
volzhs
2017-12-07 10:09:05 +09:00
parent b38378dd6c
commit b87abeb9f9

View File

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