Post

Replies

Boosts

Views

Activity

Reply to SwiftUI: Hiding the status bar with TabView and nested NavigationView's
I faced the same issue, but was able to solve it by adding more keys to the info.plist file (Xcode 12 and iOS14). As stated in this thread (https://stackoverflow.com/questions/56896719/how-to-hide-the-status-bar-in-swiftui) you just have to paste <key>UIStatusBarHidden</key> <true/> <key>UIViewControllerBasedStatusBarAppearance</key> <false/> in your info.plist file. Afterwards .edgesIgnoringSafeArea(.all) .statusBar(hidden: true) worked just fine for me.
Jun ’21