diff --git a/platform/iphone/Classes/Rhodes.m b/platform/iphone/Classes/Rhodes.m index 1424a55b6ec..a252326e8d5 100644 --- a/platform/iphone/Classes/Rhodes.m +++ b/platform/iphone/Classes/Rhodes.m @@ -707,6 +707,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( } } [self doStartUp]; + rho_rhodesapp_callUiCreatedCallback(); [self processDoSync:launchOptions]; if ( !rho_rhodesapp_canstartapp([start_parameter UTF8String], ", ") ) @@ -780,6 +781,7 @@ - (void)applicationWillEnterForeground:(UIApplication *)application { - (void)applicationWillTerminate:(UIApplication *)application { RAWLOG_INFO("Runner will terminate"); + rho_rhodesapp_callUiDestroyedCallback(); [self saveLastUsedTime]; rho_rhodesapp_destroy(); }