diff options
author | volzhs <volzhs@gmail.com> | 2017-12-07 10:09:05 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-12-07 10:09:05 +0900 |
commit | b87abeb9f9976b2b4559753de3a3b95e29ce043c (patch) | |
tree | c5419223abaef3bf564918e61df3d91aea03fa13 | |
parent | b38378dd6c963d71d0c1ad40c53b29588e581757 (diff) |
use application:didFinishLaunchingWithOptions: instead of applicationDidFinishLaunching: for iOS
-rw-r--r-- | platform/iphone/app_delegate.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/iphone/app_delegate.mm b/platform/iphone/app_delegate.mm index 8f2893e69e..b591f80aa7 100644 --- a/platform/iphone/app_delegate.mm +++ b/platform/iphone/app_delegate.mm @@ -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 { |