From 89cae39b6df61a698af869f7e0b42ac611ec58db Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Tue, 13 Feb 2024 13:05:07 +0100 Subject: [PATCH] Force device orientation check before updating view (fix bug of UI Tab bar taking full screen when opening app after it was started from an incoming call --- Classes/LinphoneUI/UICompositeView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneUI/UICompositeView.m b/Classes/LinphoneUI/UICompositeView.m index 037bc2714..197b9be2e 100644 --- a/Classes/LinphoneUI/UICompositeView.m +++ b/Classes/LinphoneUI/UICompositeView.m @@ -408,6 +408,8 @@ sideMenu:(NSNumber *)sideMenu fullscreen:(NSNumber *)fullscreen { + currentOrientation = [self getCorrectInterfaceOrientation:[[UIDevice currentDevice] orientation]]; + UIViewController *oldMainViewController = self.mainViewController; UIViewController *oldDetailsViewController = self.detailsViewController; UIViewController *oldStatusBarViewController = self.statusBarViewController;