1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

iOS: Fixed a screen rotation bug on iOS 13

This commit is contained in:
ed 2019-11-01 15:09:54 +00:00
parent 256b88142e
commit 8d75cc8064
3 changed files with 0 additions and 7 deletions

View file

@ -164,9 +164,6 @@ private:
if (auto* parentController = peer->controller)
[parentController showViewController: controller.get() sender: parentController];
if (peer->view.window != nil)
peer->view.window.autoresizesSubviews = YES;
}
}

View file

@ -144,9 +144,6 @@ private:
if (auto* parentController = peer->controller)
[parentController showViewController: controller.get() sender: parentController];
if (peer->view.window != nil)
peer->view.window.autoresizesSubviews = YES;
}
}

View file

@ -600,7 +600,6 @@ UIViewComponentPeer::UIViewComponentPeer (Component& comp, const int windowStyle
window.rootViewController = controller;
window.hidden = true;
window.autoresizesSubviews = NO;
window.transform = Orientations::getCGTransformFor (Desktop::getInstance().getCurrentOrientation());
window.opaque = component.isOpaque();
window.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent: 0];