From f961ef486ddf9309ff84a71ccd201a16ca50b92f Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 23 Oct 2014 15:09:06 +0200 Subject: [PATCH] Fix typo --- Classes/LinphoneUI/UICompositeViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/UICompositeViewController.m b/Classes/LinphoneUI/UICompositeViewController.m index ac679a3a2..2e28c7726 100644 --- a/Classes/LinphoneUI/UICompositeViewController.m +++ b/Classes/LinphoneUI/UICompositeViewController.m @@ -177,7 +177,7 @@ oppositeFrame.size.width = frame.size.height; // if we start in portrait, the landscape view must get the opposite height and width - if( portrait || [[UIDevice currentDevice].systemName floatValue] < 8 ){ + if( portrait || [[UIDevice currentDevice].systemVersion floatValue] < 8 ){ Linphone_log(@"landscape get opposite: %@", NSStringFromCGSize(oppositeFrame.size)); [landscapeView setFrame:oppositeFrame]; } else {