From 9d90f78276fe22241e7661cb09c6e3d6d6cb0a03 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Wed, 26 Jun 2019 17:09:07 +0200 Subject: [PATCH] fix no PhoneMainView --- Classes/LinphoneAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 4aa9b5eb3..edcaea1b1 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -80,7 +80,7 @@ - (void)applicationDidBecomeActive:(UIApplication *)application { LOGI(@"%@", NSStringFromSelector(_cmd)); - if (!startedInBackground) { + if (!startedInBackground || PhoneMainView.instance.currentView == nil) { startedInBackground = TRUE; // initialize UI [PhoneMainView.instance startUp];