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.

I'm also able to reproduce this issue. However, it automatically recovers to correct position on latest beta version. But it should be shown correctly on first frame, so the UI doesnt need to adjust.

@Zhaocheng Please try the new Xcode that is currently in beta to see if fixes your issue. Let me know what results do you get please.

Thanks @marceloamx

Albert Pascual
  Worldwide Developer Relations.

UIStatusBarHidden doesn't work expectedly on iOS 26
 
 
Q