[ad_1]
so taking a look at your code, you’ve got received a NavigationView the aim of this view is so as to add the navigation bar and the performance of navigating, so possibly you’ll be able to take away this and the navigation bar ought to disappear.
Replace
strive including these strains beneath .navigationBarBackButtonHidden(true):
.navigationBarTitleDisplayMode(.inline)
.navigationViewStyle(.stack)
One other Replace
okay, little bit of final resort however I would as properly point out it, strive including this to under the earlier replace (the @State ought to be added above the physique variable):
@State var isNavigationBarHidden: Bool = true
.navigationBarHidden(self.isNavigationBarHidden)
.onAppear {
self.isNavigationBarHidden = true
}
[ad_2]
