Repository: flutter
Issue: iOS - Starting app in landscape orientation hide the status bar for ever
Labels: platform-ios,framework,engine,a: layout,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-ios,triaged-ios

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

https://github.com/flutter/flutter/issues/24398 issue still exist on the following scenario.
Issue reproductible on 3.7.7

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Create new flutter project
2. Rotate your iOS simulator to landscape before launching app
3. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
4. See no status bar (normal behavior on iOS)
5. Rotate to portrait your iOS simulator

**Expected results:** <!-- what did you want to see? -->
Status bar should be visible

**Actual results:** <!-- what did you see? -->
Status bar is not visible

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```bash
# No code needed
flutter create .
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->

```
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.2.1 22D68 darwin-arm64, locale fr-FR)
    • Flutter version 3.7.7 on channel stable at /Users/earminjon/fvm/versions/3.7.7
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (13 days ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/earminjon/Library/Android/Sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/earminjon/Library/Android/Sdk
    • Java binary at: /Users/earminjon/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/earminjon/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.3)
    • IntelliJ at /Users/earminjon/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 72.1.4
    • Dart plugin version 223.8888

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.3)
    • IntelliJ at /Users/earminjon/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8836.41/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 111.0.5563.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->

Phone landscape :
![Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-21 at 10 43 46](https://user-images.githubusercontent.com/37028599/226569088-81f3a7f8-4eed-49e9-9c48-f6ac4ba85489.png)

Launching app in landscape, no status bar visible (good) : 
![Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-21 at 10 36 53](https://user-images.githubusercontent.com/37028599/226569112-603ca4ba-c2bc-4259-a6a3-7d1972d3c92f.png)

Rotating app in portrait no status bar visible (bad !)
![Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-21 at 10 36 57](https://user-images.githubusercontent.com/37028599/226569132-d934520b-001a-4df7-b63e-c00fb89e6dea.png)

Safari or iMessage didn't have this issue : 

Launching iMessage in landscape, no status bar visible (good)
![Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-21 at 10 37 07](https://user-images.githubusercontent.com/37028599/226569855-899ea2eb-d7c1-451b-bb9c-826b1da981fe.png)

Rotating iMessage to portrait, status bar visible (good)
![Simulator Screen Shot - iPhone 14 Pro Max - 2023-03-21 at 10 37 12](https://user-images.githubusercontent.com/37028599/226569694-3498a8af-54be-4c7e-b4b3-0594fb816020.png)