diff --git a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m index 310aefd339d..2c6780f08ca 100644 --- a/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m +++ b/iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m @@ -416,12 +416,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( // If a "application-launch-url" is set, launch it directly [self launchToUrl]; - // Boot our kroll-core - [self boot]; - - // Create application support directory if not exists - [self createDefaultDirectories]; - return YES; } @@ -1238,6 +1232,12 @@ - (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session op // Initialize the root-controller [self initController]; + + // Boot our kroll-core + [self boot]; + + // Create application support directory if not exists + [self createDefaultDirectories]; } #pragma mark Background Tasks