UIStatusBarHidden doesn't work expectedly on iOS 26

When UIStatusBarHidden is set to YES, the navigation bar is displayed in the wrong vertical position immediately after app launch. The layout only corrects itself after the device orientation changes (e.g., rotation).

Steps to Reproduce:

Create a new app with a navigation controller.

Set UIStatusBarHidden = YES in Info.plist.

Launch the app.

Expected Result: The navigation bar should appear in the correct position immediately after launch.

Actual Result: The navigation bar is misaligned on first launch, and only moves to the correct position after rotating the device.

UIStatusBarHidden doesn't work expectedly on iOS 26
 
 
Q