I have this problem while working with SwiftUI.
So basically, when I press on the navigation link, it opens the screen like this:
and because of this, the whole thing below that is pushed lower. And then, when I press to the navigation link from this screen, the result is this:
so it goes even lower and creates the second "back" button.
How do I get rid of this "padding" created by the "back" button?
The way I did the navigations:
var body: some View {
NavigationView {
ZStack {
Text("Hi")
}
}
}
}