From 87cec3b7431c8da2d516d3de7df7dc8eb726e593 Mon Sep 17 00:00:00 2001 From: reuk Date: Thu, 30 Oct 2025 19:43:00 +0000 Subject: [PATCH] UIViewComponentPeer: Fix an issue where the status bar could remain visible in landscape on iPhones --- modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm index df21d5ebac..d3ee67d6c0 100644 --- a/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm +++ b/modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm @@ -637,7 +637,7 @@ MultiTouchMapper UIViewComponentPeer::currentTouches; if (isKioskModeView (self)) return true; - return [[[NSBundle mainBundle] objectForInfoDictionaryKey: @"UIStatusBarHidden"] boolValue]; + return [super prefersStatusBarHidden]; } - (BOOL) prefersHomeIndicatorAutoHidden