summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-07 09:33:34 +0100
committerGitHub <noreply@github.com>2017-12-07 09:33:34 +0100
commitfbd270bfa81110d5b86f46219ed5dcc70fe4c5a9 (patch)
treed1c6a3b95e67101e8c1f785b3e33784ae2dcefcc /platform/iphone
parent96dbf19093cfc88aa688d4321fd07c2fb9afb259 (diff)
parentb87abeb9f9976b2b4559753de3a3b95e29ce043c (diff)
Merge pull request #14356 from volzhs/ios-delegate-master
use application:didFinishLaunchingWithOptions: instead of application…
Diffstat (limited to 'platform/iphone')
-rw-r--r--platform/iphone/app_delegate.mm3
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 {