diff --git a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm index b8ec8c6b08..2b4f789f2e 100644 --- a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm +++ b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm @@ -577,6 +577,7 @@ private: if (@available (iOS 13, *)) window.windowScene = nil; + window.rootViewController = nil; [window release]; window = nil; }