Wednesday, September 10, 2025
HomeiOS Developmentuiviewcontroller - iOS navigation bar overlaps standing bar on panorama view controller...

uiviewcontroller – iOS navigation bar overlaps standing bar on panorama view controller dismiss


I’ve a easy iOS app with two view controllers, a “predominant” view controller embedded in a navigation controller (with navigation bar) and a second unbiased view controller which is offered modally in fullscreen. The “predominant” view controller is portrait fastened and the second is panorama fastened. Each view controllers have buttons to navigate backwards and forwards.

App storyboard

In iPhone 8 (iOS 16.0), when the modal panorama view is terminated, both by the usage of an unwind segue or calling dismissViewController, and the view controller has slipped out, the standing bar pops up and the “predominant” view controller structure stays as if the standing bar was not on the display screen.

Anticipated structure on dismiss:

Expected layout

Precise structure that outcomes:

Navigation bar overlap

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments