From a8ef832157163325219089369c554eaa1d5d6e19 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sun, 18 Oct 2015 18:02:54 +0200 Subject: [ios9] - fix switching to external screen (either cable adapter or airplay mirroring) - wrong orientation again - this mess never ends - someone need s to rewrite the whole windowing code to get those orientations straight --- xbmc/osx/IOSScreenManager.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/osx/IOSScreenManager.mm b/xbmc/osx/IOSScreenManager.mm index adf6c6fd53..27b871422a 100644 --- a/xbmc/osx/IOSScreenManager.mm +++ b/xbmc/osx/IOSScreenManager.mm @@ -110,7 +110,7 @@ static CEvent screenChangeEvent; { // portrait on external screen means its landscape for xbmc #if __IPHONE_8_0 - if (CDarwinUtils::GetIOSVersion() >= 8.0) + if (CDarwinUtils::GetIOSVersion() >= 8.0 && CDarwinUtils::GetIOSVersion() < 9.0) [g_xbmcController activateScreen:newScreen withOrientation:UIInterfaceOrientationLandscapeLeft];// will attach the screen to xbmc mainwindow else #endif -- cgit v1.2.3