I have a simple iOS app with two view controllers, a “main” view controller embedded in a navigation controller (with navigation bar) and a second independent view controller which is presented modally in fullscreen. The “main” view controller is portrait fixed and the second one is landscape fixed. Both view controllers have buttons to navigate back and forth.
In iPhone 8 (iOS 16.0), when the modal landscape view is terminated, either through the use of an unwind segue or calling dismissViewController
, and the view controller has slipped out, the status bar pops up and the “main” view controller layout remains as if the status bar was not on the screen.
Expected layout on dismiss:
Actual layout that results:
2