diff --git a/Classes/LinphoneUI/UICompositeViewController.m b/Classes/LinphoneUI/UICompositeViewController.m index 57ef2eef2..a27966eea 100644 --- a/Classes/LinphoneUI/UICompositeViewController.m +++ b/Classes/LinphoneUI/UICompositeViewController.m @@ -151,7 +151,6 @@ [tabBarViewController viewWillAppear:animated]; [stateBarViewController viewWillAppear:animated]; [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications]; - currentOrientation = [[UIDevice currentDevice] orientation]; } - (void)viewDidAppear:(BOOL)animated {