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:
parent
256b88142e
commit
8d75cc8064
3 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue