diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-07 09:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-07 09:33:34 +0100 |
commit | fbd270bfa81110d5b86f46219ed5dcc70fe4c5a9 (patch) | |
tree | d1c6a3b95e67101e8c1f785b3e33784ae2dcefcc /platform/iphone | |
parent | 96dbf19093cfc88aa688d4321fd07c2fb9afb259 (diff) | |
parent | b87abeb9f9976b2b4559753de3a3b95e29ce043c (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.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 { |